public static final class UpdateTransitRouterPeerAttachmentAttributeRequest.Builder extends Object
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder autoPublishRouteEnabled(Boolean autoPublishRouteEnabled)
Specifies whether to enable the local Enterprise Edition transit router to automatically advertise the routes of the inter-region connection to the peer transit router. Valid values:
false
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder bandwidth(Integer bandwidth)
The bandwidth value of the inter-region connection. Unit: Mbit/s.
2
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder bandwidthType(String bandwidthType)
The bandwidth allocation method. Valid values:
BandwidthPackage
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder cenBandwidthPackageId(String cenBandwidthPackageId)
The ID of the bandwidth plan that is used to allocate bandwidth to the inter-region connection.
example:If you set BandwidthType to DataTransfer, you do not need to set this parameter.
cenbwp-3xrxupouolw5ou****
public UpdateTransitRouterPeerAttachmentAttributeRequest.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 token can contain only ASCII characters.
example:If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId for each API request may be different.
02fb3da4-130e-11e9-8e44-001****
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder defaultLinkType(String defaultLinkType)
The default line type.
Valid values: Platinum and Gold.
Platinum is supported only when BandwidthType is set to DataTransfer.
example:Gold
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder dryRun(Boolean dryRun)
Specifies whether to perform a dry run to check information such as the permissions and the instance status. Default values:
false
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder ownerAccount(String ownerAccount)
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder ownerId(Long ownerId)
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder transitRouterAttachmentDescription(String transitRouterAttachmentDescription)
The new description of the inter-region connection.
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:testdesc
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder transitRouterAttachmentId(String transitRouterAttachmentId)
The ID of the inter-region connection.
This parameter is required.
example:tr-attach-ft94dcrbc3e5taun3x
public UpdateTransitRouterPeerAttachmentAttributeRequest.Builder transitRouterAttachmentName(String transitRouterAttachmentName)
The new name of the inter-region connection.
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
example:testname
public UpdateTransitRouterPeerAttachmentAttributeRequest build()
Copyright © 2025. All rights reserved.