public static final class UpdateTransitRouterRequest.Builder extends Object
public UpdateTransitRouterRequest.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 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 UpdateTransitRouterRequest.Builder dryRun(Boolean dryRun)
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
false
public UpdateTransitRouterRequest.Builder ownerAccount(String ownerAccount)
public UpdateTransitRouterRequest.Builder ownerId(Long ownerId)
public UpdateTransitRouterRequest.Builder regionId(String regionId)
The region ID of the transit router.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-shanghai
public UpdateTransitRouterRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpdateTransitRouterRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpdateTransitRouterRequest.Builder transitRouterDescription(String transitRouterDescription)
The description of the transit router.
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 UpdateTransitRouterRequest.Builder transitRouterId(String transitRouterId)
The transit router ID.
This parameter is required.
example:tr-uf654ttymmljlvh2x****
public UpdateTransitRouterRequest.Builder transitRouterName(String transitRouterName)
The transit router name.
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 UpdateTransitRouterRequest build()
Copyright © 2025. All rights reserved.