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网关转发规则描述。
|
String |
getIpProtocol()
Get 网络协议,可选值:`TCP`、`UDP`。
|
String |
getPrivateIpAddress()
Get 内网地址。
|
Long |
getPrivatePort()
Get 内网端口。
|
String |
getPublicIpAddress()
Get 弹性IP。
|
Long |
getPublicPort()
Get 公网端口。
|
void |
setDescription(String Description)
Set NAT网关转发规则描述。
|
void |
setIpProtocol(String IpProtocol)
Set 网络协议,可选值:`TCP`、`UDP`。
|
void |
setPrivateIpAddress(String PrivateIpAddress)
Set 内网地址。
|
void |
setPrivatePort(Long PrivatePort)
Set 内网端口。
|
void |
setPublicIpAddress(String PublicIpAddress)
Set 弹性IP。
|
void |
setPublicPort(Long PublicPort)
Set 公网端口。
|
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
- 网络协议,可选值:`TCP`、`UDP`。public String getPublicIpAddress()
public void setPublicIpAddress(String PublicIpAddress)
PublicIpAddress
- 弹性IP。public Long getPublicPort()
public void setPublicPort(Long PublicPort)
PublicPort
- 公网端口。public String getPrivateIpAddress()
public void setPrivateIpAddress(String PrivateIpAddress)
PrivateIpAddress
- 内网地址。public Long getPrivatePort()
public void setPrivatePort(Long PrivatePort)
PrivatePort
- 内网端口。public String getDescription()
public void setDescription(String Description)
Description
- NAT网关转发规则描述。Copyright © 2021. All rights reserved.