public class ModifyNatIpAttributeRequest
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 |
natIpDescription
The description of the NAT IP address that you want to modify.
|
String |
natIpId
The ID of the NAT IP address that you want to modify.
|
String |
natIpName
The name of the NAT IP address that you want to modify.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the NAT gateway to which the NAT IP address that you want to modify belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
ModifyNatIpAttributeRequest() |
限定符和类型 | 方法和说明 |
---|---|
static ModifyNatIpAttributeRequest |
build(Map<String,?> map) |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getNatIpDescription() |
String |
getNatIpId() |
String |
getNatIpName() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
ModifyNatIpAttributeRequest |
setClientToken(String clientToken) |
ModifyNatIpAttributeRequest |
setDryRun(Boolean dryRun) |
ModifyNatIpAttributeRequest |
setNatIpDescription(String natIpDescription) |
ModifyNatIpAttributeRequest |
setNatIpId(String natIpId) |
ModifyNatIpAttributeRequest |
setNatIpName(String natIpName) |
ModifyNatIpAttributeRequest |
setOwnerAccount(String ownerAccount) |
ModifyNatIpAttributeRequest |
setOwnerId(Long ownerId) |
ModifyNatIpAttributeRequest |
setRegionId(String regionId) |
ModifyNatIpAttributeRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
ModifyNatIpAttributeRequest |
setResourceOwnerId(Long resourceOwnerId) |
@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.
DryRunOperation
error code is returned.false
@NameInMap(value="NatIpDescription") public String natIpDescription
The description of the NAT IP address that you want to modify.
The description must be 2 to 256 characters in length and start with a letter. The description cannot start with http://
or https://
.
test
@NameInMap(value="NatIpId") public String natIpId
The ID of the NAT IP address that you want to modify.
This parameter is required.
example:vpcnatip-gw8e1n11f44wpg****
@NameInMap(value="NatIpName") public String natIpName
The name of the NAT IP address that you want to modify.
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://
.
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 IP address that you want to modify 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 ModifyNatIpAttributeRequest build(Map<String,?> map) throws Exception
Exception
public ModifyNatIpAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public ModifyNatIpAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public ModifyNatIpAttributeRequest setNatIpDescription(String natIpDescription)
public String getNatIpDescription()
public ModifyNatIpAttributeRequest setNatIpId(String natIpId)
public String getNatIpId()
public ModifyNatIpAttributeRequest setNatIpName(String natIpName)
public String getNatIpName()
public ModifyNatIpAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyNatIpAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyNatIpAttributeRequest setRegionId(String regionId)
public String getRegionId()
public ModifyNatIpAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyNatIpAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.