public static final class UpdateTransitRouterVpnAttachmentAttributeRequest.Builder extends Object
public UpdateTransitRouterVpnAttachmentAttributeRequest.Builder autoPublishRouteEnabled(Boolean autoPublishRouteEnabled)
Specifies whether to allow the transit router to automatically advertise routes to the IPsec-VPN attachment. Valid values:
true
public UpdateTransitRouterVpnAttachmentAttributeRequest.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.
123e4567-e89b-12d3-a456-42665544****
public UpdateTransitRouterVpnAttachmentAttributeRequest.Builder dryRun(Boolean dryRun)
Specifies whether to perform a dry run. Valid values:
DryRunOperation
error code is returned.false
public UpdateTransitRouterVpnAttachmentAttributeRequest.Builder ownerAccount(String ownerAccount)
public UpdateTransitRouterVpnAttachmentAttributeRequest.Builder ownerId(Long ownerId)
public UpdateTransitRouterVpnAttachmentAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpdateTransitRouterVpnAttachmentAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpdateTransitRouterVpnAttachmentAttributeRequest.Builder transitRouterAttachmentDescription(String transitRouterAttachmentDescription)
The new description of the VPN attachment.
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http://
or https://
.
desctest
public UpdateTransitRouterVpnAttachmentAttributeRequest.Builder transitRouterAttachmentId(String transitRouterAttachmentId)
The ID of the VPN attachment.
This parameter is required.
example:tr-attach-a6p8voaodog5c0****
public UpdateTransitRouterVpnAttachmentAttributeRequest.Builder transitRouterAttachmentName(String transitRouterAttachmentName)
The name of the VPN attachment.
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:nametest
public UpdateTransitRouterVpnAttachmentAttributeRequest build()
Copyright © 2025. All rights reserved.