public static final class ListNatIpsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ListNatIpsRequest |
build() |
ListNatIpsRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ListNatIpsRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to only precheck the request.
|
ListNatIpsRequest.Builder |
maxResults(String maxResults)
The number of entries to return on each page.
|
ListNatIpsRequest.Builder |
natGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
ListNatIpsRequest.Builder |
natIpCidr(String natIpCidr)
The CIDR block to which the IP address belongs.
|
ListNatIpsRequest.Builder |
natIpIds(List<String> natIpIds)
The ID of the IP address.
|
ListNatIpsRequest.Builder |
natIpName(List<String> natIpName)
The name of the IP address.
|
ListNatIpsRequest.Builder |
natIpStatus(String natIpStatus)
The status of the IP address.
|
ListNatIpsRequest.Builder |
nextToken(String nextToken)
The token that is used for the next query.
|
ListNatIpsRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ListNatIpsRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ListNatIpsRequest.Builder |
regionId(String regionId)
The ID of the region where the NAT gateway is deployed.
|
ListNatIpsRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ListNatIpsRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public ListNatIpsRequest.Builder clientToken(String clientToken)
You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. > If you do not set this parameter, the system automatically uses **RequestId** as **ClientToken**. **RequestId** may be different for each API request.
public ListNatIpsRequest.Builder dryRun(Boolean dryRun)
* **true**: checks the API request. IP addresses are not queried. The system checks the required parameters, request syntax, and limits. If the request fails to pass the precheck, the corresponding error message is returned. If the request passes the precheck, 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 operation is performed.
public ListNatIpsRequest.Builder maxResults(String maxResults)
public ListNatIpsRequest.Builder natGatewayId(String natGatewayId)
public ListNatIpsRequest.Builder natIpCidr(String natIpCidr)
public ListNatIpsRequest.Builder natIpIds(List<String> natIpIds)
public ListNatIpsRequest.Builder natIpName(List<String> natIpName)
public ListNatIpsRequest.Builder natIpStatus(String natIpStatus)
* **Available** * **Deleting** * **Creating**
public ListNatIpsRequest.Builder nextToken(String nextToken)
* If this is your first query or no next query is to be sent, ignore this parameter. * If a next query is to be sent, set the value to the value of NextToken that is returned from the last call.
public ListNatIpsRequest.Builder ownerAccount(String ownerAccount)
public ListNatIpsRequest.Builder ownerId(Long ownerId)
public ListNatIpsRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public ListNatIpsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ListNatIpsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ListNatIpsRequest build()
Copyright © 2024. All rights reserved.