public class ModifyForwardEntryRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
externalIp
When you modify DNAT entries of Internet NAT gateways, this parameter specifies the elastic IP addresses (EIPs) that are used to access the Internet.
|
String |
externalPort
The external port that is used to forward traffic when you modify DNAT entries of Internet NAT gateways.
|
String |
forwardEntryId
The ID of the DNAT entry.
|
String |
forwardEntryName
The new name of the DNAT entry.
|
String |
forwardTableId
The ID of the DNAT table to which the DNAT entry belongs.
|
String |
internalIp
The private IP address of the ECS instance that uses DNAT entries to communicate with the Internet when you modify DNAT entries of Internet NAT gateways.
|
String |
internalPort
The internal port or port range that is used to forward traffic when you modify DNAT entries of Internet NAT gateways.
|
String |
ipProtocol
The protocol.
|
String |
ownerAccount |
Long |
ownerId |
Boolean |
portBreak
Specifies whether to remove limits on the port range.
|
String |
regionId
The region ID of the NAT gateway.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
ModifyForwardEntryRequest() |
@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.
123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="ExternalIp") public String externalIp
116.85.XX.XX
@NameInMap(value="ExternalPort") public String externalPort
The external port that is used to forward traffic when you modify DNAT entries of Internet NAT gateways.
10/20
.10/20
and InternalPort to 80/90
.The port that is accessed by external networks when you modify DNAT entries of VPC NAT gateways. Valid values: 1 to 65535.
80
@NameInMap(value="ForwardEntryId") public String forwardEntryId
The ID of the DNAT entry.
This parameter is required.
example:fwd-8vbn3bc8roygjp0gy****
@NameInMap(value="ForwardEntryName") public String forwardEntryName
The new name of the DNAT entry.
The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http://
or https://
.
test
@NameInMap(value="ForwardTableId") public String forwardTableId
The ID of the DNAT table to which the DNAT entry belongs.
This parameter is required.
example:ftb-8vbx8xu2lqj9qb334****
@NameInMap(value="InternalIp") public String internalIp
10.0.0.78
@NameInMap(value="InternalPort") public String internalPort
80
@NameInMap(value="IpProtocol") public String ipProtocol
The protocol. Valid values:
TCP
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PortBreak") public Boolean portBreak
Specifies whether to remove limits on the port range. Valid values:
1024
, set PortBreak
to true
.false
@NameInMap(value="RegionId") public String regionId
The region ID of the NAT gateway.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static ModifyForwardEntryRequest build(Map<String,?> map) throws Exception
Exception
public ModifyForwardEntryRequest setClientToken(String clientToken)
public String getClientToken()
public ModifyForwardEntryRequest setExternalIp(String externalIp)
public String getExternalIp()
public ModifyForwardEntryRequest setExternalPort(String externalPort)
public String getExternalPort()
public ModifyForwardEntryRequest setForwardEntryId(String forwardEntryId)
public String getForwardEntryId()
public ModifyForwardEntryRequest setForwardEntryName(String forwardEntryName)
public String getForwardEntryName()
public ModifyForwardEntryRequest setForwardTableId(String forwardTableId)
public String getForwardTableId()
public ModifyForwardEntryRequest setInternalIp(String internalIp)
public String getInternalIp()
public ModifyForwardEntryRequest setInternalPort(String internalPort)
public String getInternalPort()
public ModifyForwardEntryRequest setIpProtocol(String ipProtocol)
public String getIpProtocol()
public ModifyForwardEntryRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyForwardEntryRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyForwardEntryRequest setPortBreak(Boolean portBreak)
public Boolean getPortBreak()
public ModifyForwardEntryRequest setRegionId(String regionId)
public String getRegionId()
public ModifyForwardEntryRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyForwardEntryRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.