Class DestinationIpPortTranslationNatRule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.DestinationIpPortTranslationNatRule
-
public class DestinationIpPortTranslationNatRule extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Get NAT网关转发规则描述。StringgetIpProtocol()Get 网络协议,可选值:`TCP`、`UDP`。StringgetPrivateIpAddress()Get 内网地址。LonggetPrivatePort()Get 内网端口。StringgetPublicIpAddress()Get 弹性IP。LonggetPublicPort()Get 公网端口。voidsetDescription(String Description)Set NAT网关转发规则描述。voidsetIpProtocol(String IpProtocol)Set 网络协议,可选值:`TCP`、`UDP`。voidsetPrivateIpAddress(String PrivateIpAddress)Set 内网地址。voidsetPrivatePort(Long PrivatePort)Set 内网端口。voidsetPublicIpAddress(String PublicIpAddress)Set 弹性IP。voidsetPublicPort(Long PublicPort)Set 公网端口。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DestinationIpPortTranslationNatRule
public DestinationIpPortTranslationNatRule()
-
DestinationIpPortTranslationNatRule
public 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.
-
-
Method Detail
-
getIpProtocol
public String getIpProtocol()
Get 网络协议,可选值:`TCP`、`UDP`。- Returns:
- IpProtocol 网络协议,可选值:`TCP`、`UDP`。
-
setIpProtocol
public void setIpProtocol(String IpProtocol)
Set 网络协议,可选值:`TCP`、`UDP`。- Parameters:
IpProtocol- 网络协议,可选值:`TCP`、`UDP`。
-
getPublicIpAddress
public String getPublicIpAddress()
Get 弹性IP。- Returns:
- PublicIpAddress 弹性IP。
-
setPublicIpAddress
public void setPublicIpAddress(String PublicIpAddress)
Set 弹性IP。- Parameters:
PublicIpAddress- 弹性IP。
-
getPublicPort
public Long getPublicPort()
Get 公网端口。- Returns:
- PublicPort 公网端口。
-
setPublicPort
public void setPublicPort(Long PublicPort)
Set 公网端口。- Parameters:
PublicPort- 公网端口。
-
getPrivateIpAddress
public String getPrivateIpAddress()
Get 内网地址。- Returns:
- PrivateIpAddress 内网地址。
-
setPrivateIpAddress
public void setPrivateIpAddress(String PrivateIpAddress)
Set 内网地址。- Parameters:
PrivateIpAddress- 内网地址。
-
getPrivatePort
public Long getPrivatePort()
Get 内网端口。- Returns:
- PrivatePort 内网端口。
-
setPrivatePort
public void setPrivatePort(Long PrivatePort)
Set 内网端口。- Parameters:
PrivatePort- 内网端口。
-
getDescription
public String getDescription()
Get NAT网关转发规则描述。- Returns:
- Description NAT网关转发规则描述。
-
setDescription
public void setDescription(String Description)
Set NAT网关转发规则描述。- Parameters:
Description- NAT网关转发规则描述。
-
-