public class ModifySnatEntryRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Integer |
eipAffinity |
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the NAT gateway.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
snatEntryId
The ID of the SNAT entry that you want to modify.
|
String |
snatEntryName
The name of the SNAT entry.
|
String |
snatIp
The elastic IP addresses (EIPs) specified in the SNAT entry when you modify an SNAT entry of an Internet NAT gateway.
|
String |
snatTableId
The ID of the SNAT table to which the SNAT entry belongs.
|
构造器和说明 |
---|
ModifySnatEntryRequest() |
限定符和类型 | 方法和说明 |
---|---|
static ModifySnatEntryRequest |
build(Map<String,?> map) |
String |
getClientToken() |
Integer |
getEipAffinity() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getSnatEntryId() |
String |
getSnatEntryName() |
String |
getSnatIp() |
String |
getSnatTableId() |
ModifySnatEntryRequest |
setClientToken(String clientToken) |
ModifySnatEntryRequest |
setEipAffinity(Integer eipAffinity) |
ModifySnatEntryRequest |
setOwnerAccount(String ownerAccount) |
ModifySnatEntryRequest |
setOwnerId(Long ownerId) |
ModifySnatEntryRequest |
setRegionId(String regionId) |
ModifySnatEntryRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
ModifySnatEntryRequest |
setResourceOwnerId(Long resourceOwnerId) |
ModifySnatEntryRequest |
setSnatEntryId(String snatEntryId) |
ModifySnatEntryRequest |
setSnatEntryName(String snatEntryName) |
ModifySnatEntryRequest |
setSnatIp(String snatIp) |
ModifySnatEntryRequest |
setSnatTableId(String snatTableId) |
@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.
02fb3da4-130e-11e9-8e44-001****
@NameInMap(value="EipAffinity") public Integer eipAffinity
@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.
You can call the DescribeRegions operation to obtain the region ID.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SnatEntryId") public String snatEntryId
The ID of the SNAT entry that you want to modify.
This parameter is required.
example:snat-bp1vcgcf8tm0plqcg****
@NameInMap(value="SnatEntryName") public String snatEntryName
The name of the SNAT entry.
The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http://
or https://
.
SnatEntry-1
@NameInMap(value="SnatIp") public String snatIp
The elastic IP addresses (EIPs) specified in the SNAT entry when you modify an SNAT entry of an Internet NAT gateway. Separate EIPs with commas (,).
If you select multiple EIPs to create an SNAT address pool, connections are hashed to these EIPs. Network traffic may not be evenly distributed to the EIPs because the amount of traffic passes through each connection varies. We recommend that you associate these EIPs with the same EIP bandwidth plan to prevent service interruptions due to the bandwidth limit of an individual EIP.
When you modify an SNAT entry of a VPC NAT gateway, this parameter specifies the NAT IP address in the SNAT entry.
47.98.XX.XX
@NameInMap(value="SnatTableId") public String snatTableId
The ID of the SNAT table to which the SNAT entry belongs.
This parameter is required.
example:stb-8vbczigrhop8x5u3t****
public static ModifySnatEntryRequest build(Map<String,?> map) throws Exception
Exception
public ModifySnatEntryRequest setClientToken(String clientToken)
public String getClientToken()
public ModifySnatEntryRequest setEipAffinity(Integer eipAffinity)
public Integer getEipAffinity()
public ModifySnatEntryRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifySnatEntryRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifySnatEntryRequest setRegionId(String regionId)
public String getRegionId()
public ModifySnatEntryRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifySnatEntryRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifySnatEntryRequest setSnatEntryId(String snatEntryId)
public String getSnatEntryId()
public ModifySnatEntryRequest setSnatEntryName(String snatEntryName)
public String getSnatEntryName()
public ModifySnatEntryRequest setSnatIp(String snatIp)
public String getSnatIp()
public ModifySnatEntryRequest setSnatTableId(String snatTableId)
public String getSnatTableId()
Copyright © 2024. All rights reserved.