Class ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest
-
public class ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest()ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest(ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest 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 DestinationIpPortTranslationNatRulegetDestinationNatRule()Get 目的NAT网关的端口转换规则。StringgetNatGatewayId()Get NAT网关的ID,形如:`nat-df45454`。DestinationIpPortTranslationNatRulegetSourceNatRule()Get 源NAT网关的端口转换规则。voidsetDestinationNatRule(DestinationIpPortTranslationNatRule DestinationNatRule)Set 目的NAT网关的端口转换规则。voidsetNatGatewayId(String NatGatewayId)Set NAT网关的ID,形如:`nat-df45454`。voidsetSourceNatRule(DestinationIpPortTranslationNatRule SourceNatRule)Set 源NAT网关的端口转换规则。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
-
ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest
public ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest()
-
ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest
public ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest(ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest 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
-
getNatGatewayId
public String getNatGatewayId()
Get NAT网关的ID,形如:`nat-df45454`。- Returns:
- NatGatewayId NAT网关的ID,形如:`nat-df45454`。
-
setNatGatewayId
public void setNatGatewayId(String NatGatewayId)
Set NAT网关的ID,形如:`nat-df45454`。- Parameters:
NatGatewayId- NAT网关的ID,形如:`nat-df45454`。
-
getSourceNatRule
public DestinationIpPortTranslationNatRule getSourceNatRule()
Get 源NAT网关的端口转换规则。- Returns:
- SourceNatRule 源NAT网关的端口转换规则。
-
setSourceNatRule
public void setSourceNatRule(DestinationIpPortTranslationNatRule SourceNatRule)
Set 源NAT网关的端口转换规则。- Parameters:
SourceNatRule- 源NAT网关的端口转换规则。
-
getDestinationNatRule
public DestinationIpPortTranslationNatRule getDestinationNatRule()
Get 目的NAT网关的端口转换规则。- Returns:
- DestinationNatRule 目的NAT网关的端口转换规则。
-
setDestinationNatRule
public void setDestinationNatRule(DestinationIpPortTranslationNatRule DestinationNatRule)
Set 目的NAT网关的端口转换规则。- Parameters:
DestinationNatRule- 目的NAT网关的端口转换规则。
-
-