Class ModifyNatGatewaySourceIpTranslationNatRuleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.ModifyNatGatewaySourceIpTranslationNatRuleRequest
-
public class ModifyNatGatewaySourceIpTranslationNatRuleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyNatGatewaySourceIpTranslationNatRuleRequest()ModifyNatGatewaySourceIpTranslationNatRuleRequest(ModifyNatGatewaySourceIpTranslationNatRuleRequest 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 StringgetNatGatewayId()Get NAT网关的ID,形如:`nat-df453454`。SourceIpTranslationNatRulegetSourceIpTranslationNatRule()Get NAT网关的SNAT转换规则。voidsetNatGatewayId(String NatGatewayId)Set NAT网关的ID,形如:`nat-df453454`。voidsetSourceIpTranslationNatRule(SourceIpTranslationNatRule SourceIpTranslationNatRule)Set NAT网关的SNAT转换规则。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
-
ModifyNatGatewaySourceIpTranslationNatRuleRequest
public ModifyNatGatewaySourceIpTranslationNatRuleRequest()
-
ModifyNatGatewaySourceIpTranslationNatRuleRequest
public ModifyNatGatewaySourceIpTranslationNatRuleRequest(ModifyNatGatewaySourceIpTranslationNatRuleRequest 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-df453454`。- Returns:
- NatGatewayId NAT网关的ID,形如:`nat-df453454`。
-
setNatGatewayId
public void setNatGatewayId(String NatGatewayId)
Set NAT网关的ID,形如:`nat-df453454`。- Parameters:
NatGatewayId- NAT网关的ID,形如:`nat-df453454`。
-
getSourceIpTranslationNatRule
public SourceIpTranslationNatRule getSourceIpTranslationNatRule()
Get NAT网关的SNAT转换规则。- Returns:
- SourceIpTranslationNatRule NAT网关的SNAT转换规则。
-
setSourceIpTranslationNatRule
public void setSourceIpTranslationNatRule(SourceIpTranslationNatRule SourceIpTranslationNatRule)
Set NAT网关的SNAT转换规则。- Parameters:
SourceIpTranslationNatRule- NAT网关的SNAT转换规则。
-
-