public static final class CreateTransitRouterVbrAttachmentRequest.Builder extends Object
public CreateTransitRouterVbrAttachmentRequest.Builder autoPublishRouteEnabled(Boolean autoPublishRouteEnabled)
Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VBR. Valid values:
false
public CreateTransitRouterVbrAttachmentRequest.Builder cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
example:cen-j3jzhw1zpau2km****
public CreateTransitRouterVbrAttachmentRequest.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 CreateTransitRouterVbrAttachmentRequest.Builder dryRun(Boolean dryRun)
Specifies whether to perform a dry run. Default values:
false
public CreateTransitRouterVbrAttachmentRequest.Builder ownerAccount(String ownerAccount)
public CreateTransitRouterVbrAttachmentRequest.Builder ownerId(Long ownerId)
public CreateTransitRouterVbrAttachmentRequest.Builder regionId(String regionId)
The region ID of the VBR.
You can call the DescribeRegions operation to query the most recent region list.
example:cn-hangzhou
public CreateTransitRouterVbrAttachmentRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateTransitRouterVbrAttachmentRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateTransitRouterVbrAttachmentRequest.Builder tag(List<CreateTransitRouterVbrAttachmentRequest.Tag> tag)
The information about the tags.
You can specify at most 20 tags in each call.
public CreateTransitRouterVbrAttachmentRequest.Builder transitRouterAttachmentDescription(String transitRouterAttachmentDescription)
The description of the VBR connection.
The description must be 1 to 256 characters in length, and cannot start with http:// or https://. You can also leave this parameter empty.
example:testdesc
public CreateTransitRouterVbrAttachmentRequest.Builder transitRouterAttachmentName(String transitRouterAttachmentName)
The name of the VBR connection.
The name must be 1 to 128 characters in length, and cannot start with http:// or https://. You can also leave this parameter empty.
example:testname
public CreateTransitRouterVbrAttachmentRequest.Builder transitRouterId(String transitRouterId)
The ID of the Enterprise Edition transit router.
example:tr-bp1su1ytdxtataupl****
public CreateTransitRouterVbrAttachmentRequest.Builder vbrId(String vbrId)
The ID of the VBR.
This parameter is required.
example:vbr-bp1svadp4lq38janc****
public CreateTransitRouterVbrAttachmentRequest.Builder vbrOwnerId(Long vbrOwnerId)
The ID of the Alibaba Cloud account to which the VBR belongs. The default value is the ID of the current Alibaba Cloud account.
example:If the network instance and CEN instance belong to different Alibaba Cloud accounts, this parameter is required.
1250123456123456
public CreateTransitRouterVbrAttachmentRequest build()
Copyright © 2025. All rights reserved.