public class ModifyNatIpCidrAttributeRequest
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 to which the NAT CIDR block belongs.
|
String |
natIpCidr
The NAT CIDR block whose name and description you want to modify.
|
String |
natIpCidrDescription
The new description of the NAT CIDR block.
|
String |
natIpCidrName
The new name of the NAT CIDR block.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the NAT gateway to which the NAT CIDR block belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
ModifyNatIpCidrAttributeRequest() |
@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 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 to which the NAT CIDR block belongs.
This parameter is required.
example:ngw-gw8v16wgvtq26vh59****
@NameInMap(value="NatIpCidr") public String natIpCidr
The NAT CIDR block whose name and description you want to modify.
This parameter is required.
example:172.16.0.0/24
@NameInMap(value="NatIpCidrDescription") public String natIpCidrDescription
The new description of the NAT CIDR block.
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http://
or https://
.
newtest
@NameInMap(value="NatIpCidrName") public String natIpCidrName
The new name of the NAT CIDR block.
The name must be 2 to 128 characters in length, and can contain digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
example:newname
@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 to which the NAT CIDR block belongs.
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 ModifyNatIpCidrAttributeRequest build(Map<String,?> map) throws Exception
Exception
public ModifyNatIpCidrAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public ModifyNatIpCidrAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public ModifyNatIpCidrAttributeRequest setNatGatewayId(String natGatewayId)
public String getNatGatewayId()
public ModifyNatIpCidrAttributeRequest setNatIpCidr(String natIpCidr)
public String getNatIpCidr()
public ModifyNatIpCidrAttributeRequest setNatIpCidrDescription(String natIpCidrDescription)
public String getNatIpCidrDescription()
public ModifyNatIpCidrAttributeRequest setNatIpCidrName(String natIpCidrName)
public String getNatIpCidrName()
public ModifyNatIpCidrAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyNatIpCidrAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyNatIpCidrAttributeRequest setRegionId(String regionId)
public String getRegionId()
public ModifyNatIpCidrAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyNatIpCidrAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.