public class CreateNatIpCidrRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
natGatewayId
The ID of the Virtual Private Cloud (VPC) NAT gateway with which you want to associate the CIDR block.
|
String |
natIpCidr
The NAT CIDR block that you want to associate with the NAT gateway.
|
String |
natIpCidrDescription
The description of the NAT CIDR block.
|
String |
natIpCidrName
The name of the CIDR block.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the NAT gateway with which you want to associate the CIDR block.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
CreateNatIpCidrRequest() |
@NameInMap(value="ClientToken") public 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 client 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.
5A2CFF0E-5718-45B5-9D4D-70B3FF3898
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
DryRunOperation
error code is returned.false
@NameInMap(value="NatGatewayId") public String natGatewayId
The ID of the Virtual Private Cloud (VPC) NAT gateway with which you want to associate the CIDR block.
This parameter is required.
example:ngw-gw8v16wgvtq26vh59****
@NameInMap(value="NatIpCidr") public String natIpCidr
The NAT CIDR block that you want to associate with the NAT gateway.
The new CIDR block must meet the following conditions:
This parameter is required.
example:172.16.0.0/24
@NameInMap(value="NatIpCidrDescription") public String natIpCidrDescription
The description of the NAT CIDR block.
The description must be 2 to 256 characters in length and start with a letter. The description cannot start with http://
or https://
.
mycidr
@NameInMap(value="NatIpCidrName") public String natIpCidrName
The name of the CIDR block.
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://
.
newcidr
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the NAT gateway with which you want to associate the CIDR block.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:eu-central-1
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static CreateNatIpCidrRequest build(Map<String,?> map) throws Exception
Exception
public CreateNatIpCidrRequest setClientToken(String clientToken)
public String getClientToken()
public CreateNatIpCidrRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateNatIpCidrRequest setNatGatewayId(String natGatewayId)
public String getNatGatewayId()
public CreateNatIpCidrRequest setNatIpCidr(String natIpCidr)
public String getNatIpCidr()
public CreateNatIpCidrRequest setNatIpCidrDescription(String natIpCidrDescription)
public String getNatIpCidrDescription()
public CreateNatIpCidrRequest setNatIpCidrName(String natIpCidrName)
public String getNatIpCidrName()
public CreateNatIpCidrRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateNatIpCidrRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateNatIpCidrRequest setRegionId(String regionId)
public String getRegionId()
public CreateNatIpCidrRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateNatIpCidrRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.