public static final class CreateTransitRouteTableAggregationRequest.Builder extends Object
public CreateTransitRouteTableAggregationRequest.Builder clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
example:If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
02fb3da4-130e-11e9-8e44-001****
public CreateTransitRouteTableAggregationRequest.Builder dryRun(Boolean dryRun)
Specifies whether to perform a dry run. Valid values:
DryRunOperation
error code is returned.false
public CreateTransitRouteTableAggregationRequest.Builder ownerAccount(String ownerAccount)
public CreateTransitRouteTableAggregationRequest.Builder ownerId(Long ownerId)
public CreateTransitRouteTableAggregationRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateTransitRouteTableAggregationRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateTransitRouteTableAggregationRequest.Builder transitRouteTableAggregationCidr(String transitRouteTableAggregationCidr)
The destination CIDR block of the aggregate route.
The following CIDR blocks are not supported:
- CIDR blocks that start with 0 or 100.64.
- Multicast CIDR blocks, including 224.0.0.1 to 239.255.255.254.
This parameter is required.
example:192.168.10.0/24
public CreateTransitRouteTableAggregationRequest.Builder transitRouteTableAggregationDescription(String transitRouteTableAggregationDescription)
The description of the aggregate route.
This parameter is optional. If you enter a description, it must be 1 to 256 characters in length and cannot start with http:// or https://.
example:desctest
public CreateTransitRouteTableAggregationRequest.Builder transitRouteTableAggregationName(String transitRouteTableAggregationName)
The name of the aggregate route.
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
example:nametest
public CreateTransitRouteTableAggregationRequest.Builder transitRouteTableAggregationScope(String transitRouteTableAggregationScope)
The scope of networks to which the aggregate route is advertised.
The valid value is VPC, which indicates that the aggregate route is advertised to all VPCs that are in associated forwarding correlation with the Enterprise Edition transit router and have route synchronization enabled.
example:VPC
public CreateTransitRouteTableAggregationRequest.Builder transitRouteTableAggregationScopeList(List<String> transitRouteTableAggregationScopeList)
The list of propagation ranges of the aggregation route.
You must specify at least one of the following attributes: Aggregation Scope and Aggregate Scope List. We recommend that you specify the latter. The elements in the two attributes cannot be duplicate.
public CreateTransitRouteTableAggregationRequest.Builder transitRouteTableId(String transitRouteTableId)
The ID of the route table of the Enterprise Edition transit router.
This parameter is required.
example:vtb-iq8qgruq1ry8jc7vt****
public CreateTransitRouteTableAggregationRequest build()
Copyright © 2025. All rights reserved.