Class CreateNatGatewaySourceIpTranslationNatRuleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.CreateNatGatewaySourceIpTranslationNatRuleRequest
-
public class CreateNatGatewaySourceIpTranslationNatRuleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateNatGatewaySourceIpTranslationNatRuleRequest()CreateNatGatewaySourceIpTranslationNatRuleRequest(CreateNatGatewaySourceIpTranslationNatRuleRequest 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-df45454"SourceIpTranslationNatRule[]getSourceIpTranslationNatRules()Get NAT网关的SNAT转换规则voidsetNatGatewayId(String NatGatewayId)Set NAT网关的ID,形如:"nat-df45454"voidsetSourceIpTranslationNatRules(SourceIpTranslationNatRule[] SourceIpTranslationNatRules)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
-
CreateNatGatewaySourceIpTranslationNatRuleRequest
public CreateNatGatewaySourceIpTranslationNatRuleRequest()
-
CreateNatGatewaySourceIpTranslationNatRuleRequest
public CreateNatGatewaySourceIpTranslationNatRuleRequest(CreateNatGatewaySourceIpTranslationNatRuleRequest 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"
-
getSourceIpTranslationNatRules
public SourceIpTranslationNatRule[] getSourceIpTranslationNatRules()
Get NAT网关的SNAT转换规则- Returns:
- SourceIpTranslationNatRules NAT网关的SNAT转换规则
-
setSourceIpTranslationNatRules
public void setSourceIpTranslationNatRules(SourceIpTranslationNatRule[] SourceIpTranslationNatRules)
Set NAT网关的SNAT转换规则- Parameters:
SourceIpTranslationNatRules- NAT网关的SNAT转换规则
-
-