public static final class ModifyNatIpCidrAttributeRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyNatIpCidrAttributeRequest |
build() |
ModifyNatIpCidrAttributeRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ModifyNatIpCidrAttributeRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to perform only a dry run, without performing the actual request.
|
ModifyNatIpCidrAttributeRequest.Builder |
natGatewayId(String natGatewayId)
The ID of the Virtual Private Cloud (VPC) NAT gateway to which the NAT CIDR block belongs.
|
ModifyNatIpCidrAttributeRequest.Builder |
natIpCidr(String natIpCidr)
The NAT CIDR block whose name and description you want to modify.
|
ModifyNatIpCidrAttributeRequest.Builder |
natIpCidrDescription(String natIpCidrDescription)
The new description of the NAT CIDR block.
|
ModifyNatIpCidrAttributeRequest.Builder |
natIpCidrName(String natIpCidrName)
The new name of the NAT CIDR block.
|
ModifyNatIpCidrAttributeRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ModifyNatIpCidrAttributeRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ModifyNatIpCidrAttributeRequest.Builder |
regionId(String regionId)
The region ID of the NAT gateway to which the NAT CIDR block belongs.
|
ModifyNatIpCidrAttributeRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ModifyNatIpCidrAttributeRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public ModifyNatIpCidrAttributeRequest.Builder clientToken(String clientToken)
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. > 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.
public ModifyNatIpCidrAttributeRequest.Builder dryRun(Boolean dryRun)
* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
public ModifyNatIpCidrAttributeRequest.Builder natGatewayId(String natGatewayId)
public ModifyNatIpCidrAttributeRequest.Builder natIpCidr(String natIpCidr)
public ModifyNatIpCidrAttributeRequest.Builder natIpCidrDescription(String natIpCidrDescription)
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
public ModifyNatIpCidrAttributeRequest.Builder natIpCidrName(String natIpCidrName)
The name must be 2 to 128 characters in length, and can contain digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter.
public ModifyNatIpCidrAttributeRequest.Builder ownerAccount(String ownerAccount)
public ModifyNatIpCidrAttributeRequest.Builder ownerId(Long ownerId)
public ModifyNatIpCidrAttributeRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public ModifyNatIpCidrAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyNatIpCidrAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyNatIpCidrAttributeRequest build()
Copyright © 2024. All rights reserved.