public static final class UpdateTransitRouterVpcAttachmentAttributeRequest.Builder extends Object
public UpdateTransitRouterVpcAttachmentAttributeRequest.Builder autoPublishRouteEnabled(Boolean autoPublishRouteEnabled)
Specifies whether to allow the Enterprise Edition transit router to advertise routes to the VPC. Valid values:
true
public UpdateTransitRouterVpcAttachmentAttributeRequest.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 all 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 UpdateTransitRouterVpcAttachmentAttributeRequest.Builder dryRun(Boolean dryRun)
Specifies whether to perform a dry run. Default values:
false
public UpdateTransitRouterVpcAttachmentAttributeRequest.Builder ownerAccount(String ownerAccount)
public UpdateTransitRouterVpcAttachmentAttributeRequest.Builder ownerId(Long ownerId)
public UpdateTransitRouterVpcAttachmentAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpdateTransitRouterVpcAttachmentAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpdateTransitRouterVpcAttachmentAttributeRequest.Builder transitRouterAttachmentDescription(String transitRouterAttachmentDescription)
The description of the VPC connection.
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http://
or https://
.
testdesc
public UpdateTransitRouterVpcAttachmentAttributeRequest.Builder transitRouterAttachmentId(String transitRouterAttachmentId)
The ID of the VPC connection.
This parameter is required.
example:tr-attach-nls9fzkfat8934****
public UpdateTransitRouterVpcAttachmentAttributeRequest.Builder transitRouterAttachmentName(String transitRouterAttachmentName)
The name of the VPC connection.
The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
example:testname
public UpdateTransitRouterVpcAttachmentAttributeRequest.Builder transitRouterVPCAttachmentOptions(Map<String,String> transitRouterVPCAttachmentOptions)
The features of the VPC connection.
public UpdateTransitRouterVpcAttachmentAttributeRequest build()
Copyright © 2025. All rights reserved.