public static final class ListNatIpCidrsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ListNatIpCidrsRequest |
build() |
ListNatIpCidrsRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ListNatIpCidrsRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to only precheck this request.
|
ListNatIpCidrsRequest.Builder |
maxResults(String maxResults)
The number of entries to return on each page.
|
ListNatIpCidrsRequest.Builder |
natGatewayId(String natGatewayId)
The ID of the VPC NAT gateway that you want to query.
|
ListNatIpCidrsRequest.Builder |
natIpCidr(String natIpCidr)
The CIDR block of the NAT gateway that you want to query.
|
ListNatIpCidrsRequest.Builder |
natIpCidrName(List<String> natIpCidrName)
The name of the CIDR block that you want to query.
|
ListNatIpCidrsRequest.Builder |
natIpCidrs(List<String> natIpCidrs)
The CIDR block of the NAT gateway that you want to query.
|
ListNatIpCidrsRequest.Builder |
natIpCidrStatus(String natIpCidrStatus)
The status of the CIDR block that you want to query.
|
ListNatIpCidrsRequest.Builder |
nextToken(String nextToken)
The token that is used for the next query.
|
ListNatIpCidrsRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ListNatIpCidrsRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ListNatIpCidrsRequest.Builder |
regionId(String regionId)
The region ID of the Virtual Private Cloud (VPC) NAT gateway that you want to query.
|
ListNatIpCidrsRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ListNatIpCidrsRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public ListNatIpCidrsRequest.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 ListNatIpCidrsRequest.Builder dryRun(Boolean dryRun)
* **true**: checks the API request. The CIDR blocks of the NAT gateway are not queried if the API request passes the precheck. The system checks whether your AccessKey pair is valid, whether the Resource Access Management (RAM) user is authorized, and whether the required parameters are set. If the request fails to pass the precheck, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned. * **false**: sends the API request. If the request passes the precheck, 2xx HTTP status code is returned and the CIDR blocks of the NAT gateway are queried. This is the default value.
public ListNatIpCidrsRequest.Builder maxResults(String maxResults)
public ListNatIpCidrsRequest.Builder natGatewayId(String natGatewayId)
public ListNatIpCidrsRequest.Builder natIpCidr(String natIpCidr)
public ListNatIpCidrsRequest.Builder natIpCidrName(List<String> natIpCidrName)
public ListNatIpCidrsRequest.Builder natIpCidrStatus(String natIpCidrStatus)
public ListNatIpCidrsRequest.Builder natIpCidrs(List<String> natIpCidrs)
public ListNatIpCidrsRequest.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 ListNatIpCidrsRequest.Builder ownerAccount(String ownerAccount)
public ListNatIpCidrsRequest.Builder ownerId(Long ownerId)
public ListNatIpCidrsRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public ListNatIpCidrsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ListNatIpCidrsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ListNatIpCidrsRequest build()
Copyright © 2024. All rights reserved.