public static final class ModifyTransitRouteTableAggregationRequest.Builder extends Object
public ModifyTransitRouteTableAggregationRequest.Builder clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
Use the client to generate the token, but make sure that the token is unique among different requests. The token can contain only ASCII characters.
example:If you do not specify this parameter, the system automatically uses the RequestId as the ClientToken. The RequestId may be different.
02fb3da4****
public ModifyTransitRouteTableAggregationRequest.Builder dryRun(Boolean dryRun)
Specifies whether to perform a dry run to check information such as the permissions and instance status. Valid values:
DryRunOperation
error code is returned.false
public ModifyTransitRouteTableAggregationRequest.Builder ownerAccount(String ownerAccount)
public ModifyTransitRouteTableAggregationRequest.Builder ownerId(Long ownerId)
public ModifyTransitRouteTableAggregationRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyTransitRouteTableAggregationRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyTransitRouteTableAggregationRequest.Builder transitRouteTableAggregationCidr(String transitRouteTableAggregationCidr)
The destination CIDR block of the aggregate route.
This parameter is required.
example:192.168.10.0/24
public ModifyTransitRouteTableAggregationRequest.Builder transitRouteTableAggregationDescription(String transitRouteTableAggregationDescription)
The description of the aggregate route.
The description can be empty or 0 to 256 characters in length and cannot start with http:// or https://.
example:desctest
public ModifyTransitRouteTableAggregationRequest.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 ModifyTransitRouteTableAggregationRequest.Builder transitRouteTableAggregationScope(String transitRouteTableAggregationScope)
The scope of networks that you want to advertise the aggregate route.
The valid value is VPC, which indicates that the aggregate route is advertised to all VPCs that have associated forwarding correlation with the Enterprise Edition transit router and have route synchronization enabled.
example:VPC
public ModifyTransitRouteTableAggregationRequest.Builder transitRouteTableAggregationScopeList(List<String> transitRouteTableAggregationScopeList)
The scope of networks to which the aggregate route is advertised.
You must select at least one attribute from either the Aggregate Route Propagation Range or the Aggregate Route Propagation Range List. We recommend using the latter. The elements of the two attributes cannot duplicate.
public ModifyTransitRouteTableAggregationRequest.Builder transitRouteTableId(String transitRouteTableId)
The list of route table IDs of the Enterprise Edition transit router.
This parameter is required.
example:vtb-6ehgc262hr170qgyc****
public ModifyTransitRouteTableAggregationRequest build()
Copyright © 2025. All rights reserved.