public class DestinationIpPortTranslationNatRule extends AbstractModel
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 NAT gateway forwarding rule description.
|
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 port.
|
void |
setDescription(String Description)
Set NAT gateway forwarding rule description.
|
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 port.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DestinationIpPortTranslationNatRule()
public DestinationIpPortTranslationNatRule(DestinationIpPortTranslationNatRule source)
public String getIpProtocol()
public void setIpProtocol(String IpProtocol)
IpProtocol
- Network protocol. Available choices: `TCP`, `UDP`.public String getPublicIpAddress()
public void setPublicIpAddress(String PublicIpAddress)
PublicIpAddress
- EIP.public Long getPublicPort()
public void setPublicPort(Long PublicPort)
PublicPort
- Public 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
- NAT gateway forwarding rule description.Copyright © 2021. All rights reserved.