public static final class ModifyNatIpAttributeRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyNatIpAttributeRequest |
build() |
ModifyNatIpAttributeRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ModifyNatIpAttributeRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to perform only a dry run, without performing the actual request.
|
ModifyNatIpAttributeRequest.Builder |
natIpDescription(String natIpDescription)
The description of the NAT IP address that you want to modify.
|
ModifyNatIpAttributeRequest.Builder |
natIpId(String natIpId)
The ID of the NAT IP address that you want to modify.
|
ModifyNatIpAttributeRequest.Builder |
natIpName(String natIpName)
The name of the NAT IP address that you want to modify.
|
ModifyNatIpAttributeRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ModifyNatIpAttributeRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ModifyNatIpAttributeRequest.Builder |
regionId(String regionId)
The region ID of the NAT gateway to which the NAT IP address that you want to modify belongs.
|
ModifyNatIpAttributeRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ModifyNatIpAttributeRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public ModifyNatIpAttributeRequest.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 client 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 ModifyNatIpAttributeRequest.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): sends the request. If the request passes the precheck, a 2xx HTTP status code is returned and the name and description of the NAT IP address are modified.
public ModifyNatIpAttributeRequest.Builder natIpDescription(String natIpDescription)
The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
public ModifyNatIpAttributeRequest.Builder natIpId(String natIpId)
public ModifyNatIpAttributeRequest.Builder natIpName(String natIpName)
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter. The name must start with a letter and cannot start with `http://` or `https://`.
public ModifyNatIpAttributeRequest.Builder ownerAccount(String ownerAccount)
public ModifyNatIpAttributeRequest.Builder ownerId(Long ownerId)
public ModifyNatIpAttributeRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public ModifyNatIpAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyNatIpAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyNatIpAttributeRequest build()
Copyright © 2024. All rights reserved.