public class DestinationIpPortTranslationNatRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
DestinationIpPortTranslationNatRule()  | 
DestinationIpPortTranslationNatRule(DestinationIpPortTranslationNatRule source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDescription()
Get Description of NAT gateway forwarding rules. 
 | 
String | 
getIpProtocol()
Get Network protocol. 
 | 
String | 
getPrivateIpAddress()
Get Private network address. 
 | 
Long | 
getPrivatePort()
Get Private network port. 
 | 
String | 
getPublicIpAddress()
Get EIP. 
 | 
Long | 
getPublicPort()
Get Public network port. 
 | 
void | 
setDescription(String Description)
Set Description of NAT gateway forwarding rules. 
 | 
void | 
setIpProtocol(String IpProtocol)
Set Network protocol. 
 | 
void | 
setPrivateIpAddress(String PrivateIpAddress)
Set Private network address. 
 | 
void | 
setPrivatePort(Long PrivatePort)
Set Private network port. 
 | 
void | 
setPublicIpAddress(String PublicIpAddress)
Set EIP. 
 | 
void | 
setPublicPort(Long PublicPort)
Set Public network port. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DestinationIpPortTranslationNatRule()
public DestinationIpPortTranslationNatRule(DestinationIpPortTranslationNatRule source)
public String getIpProtocol()
public void setIpProtocol(String IpProtocol)
IpProtocol - Network protocol. Valid values: `TCP`, `UDP`.public String getPublicIpAddress()
public void setPublicIpAddress(String PublicIpAddress)
PublicIpAddress - EIP.public Long getPublicPort()
public void setPublicPort(Long PublicPort)
PublicPort - Public network port.public String getPrivateIpAddress()
public void setPrivateIpAddress(String PrivateIpAddress)
PrivateIpAddress - Private network address.public Long getPrivatePort()
public void setPrivatePort(Long PrivatePort)
PrivatePort - Private network port.public String getDescription()
public void setDescription(String Description)
Description - Description of NAT gateway forwarding rules.Copyright © 2025. All rights reserved.