public static final class CreateTransitRouterRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateTransitRouterRequest |
build() |
CreateTransitRouterRequest.Builder |
cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
|
CreateTransitRouterRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateTransitRouterRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to check the request without performing the operation.
|
CreateTransitRouterRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateTransitRouterRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateTransitRouterRequest.Builder |
regionId(String regionId)
The ID of the region where the Enterprise Edition transit router is deployed.
|
CreateTransitRouterRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateTransitRouterRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateTransitRouterRequest.Builder |
supportMulticast(Boolean supportMulticast)
Specifies whether to enable the multicast feature for the Enterprise Edition transit router.
|
CreateTransitRouterRequest.Builder |
tag(List<CreateTransitRouterRequest.Tag> tag)
The tags.
|
CreateTransitRouterRequest.Builder |
transitRouterCidrList(List<CreateTransitRouterRequest.TransitRouterCidrList> transitRouterCidrList)
The CIDR blocks to be added to the transit router.
|
CreateTransitRouterRequest.Builder |
transitRouterDescription(String transitRouterDescription)
The description of the Enterprise Edition transit router instance.
|
CreateTransitRouterRequest.Builder |
transitRouterName(String transitRouterName)
The name of the Enterprise Edition transit router.
|
public CreateTransitRouterRequest.Builder cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
This parameter is required.
example:cen-j3jzhw1zpau2km****
public CreateTransitRouterRequest.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, the system automatically uses RequestId as ClientToken. The value of RequestId of each API request is different.
02fb3da4-130e-11e9-8e44-001****
public CreateTransitRouterRequest.Builder dryRun(Boolean dryRun)
Specifies whether to check the request without performing the operation. Check items include permissions and the status of the specified cloud resources. Valid values:
DryRunOperation
error code is returned.false
public CreateTransitRouterRequest.Builder ownerAccount(String ownerAccount)
public CreateTransitRouterRequest.Builder ownerId(Long ownerId)
public CreateTransitRouterRequest.Builder regionId(String regionId)
The ID of the region where the Enterprise Edition transit router is deployed.
You can call the DescribeChildInstanceRegions operation to query the most recent region list.
This parameter is required.
example:cn-zhangjiakou
public CreateTransitRouterRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateTransitRouterRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateTransitRouterRequest.Builder supportMulticast(Boolean supportMulticast)
Specifies whether to enable the multicast feature for the Enterprise Edition transit router. Valid values:
The multicast feature is supported only in specific regions. You can call ListTransitRouterAvailableResource to query the regions that support multicast.
example:false
public CreateTransitRouterRequest.Builder tag(List<CreateTransitRouterRequest.Tag> tag)
The tags.
public CreateTransitRouterRequest.Builder transitRouterCidrList(List<CreateTransitRouterRequest.TransitRouterCidrList> transitRouterCidrList)
The CIDR blocks to be added to the transit router.
public CreateTransitRouterRequest.Builder transitRouterDescription(String transitRouterDescription)
The description of the Enterprise Edition transit router instance.
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 CreateTransitRouterRequest.Builder transitRouterName(String transitRouterName)
The name of the Enterprise Edition transit router.
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 CreateTransitRouterRequest build()
Copyright © 2025. All rights reserved.