Class CreateNatGatewayDestinationIpPortTranslationNatRuleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.CreateNatGatewayDestinationIpPortTranslationNatRuleRequest
-
public class CreateNatGatewayDestinationIpPortTranslationNatRuleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateNatGatewayDestinationIpPortTranslationNatRuleRequest()CreateNatGatewayDestinationIpPortTranslationNatRuleRequest(CreateNatGatewayDestinationIpPortTranslationNatRuleRequest 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 DestinationIpPortTranslationNatRule[]getDestinationIpPortTranslationNatRules()Get NAT网关的端口转换规则。StringgetNatGatewayId()Get NAT网关的ID,形如:`nat-df45454`。voidsetDestinationIpPortTranslationNatRules(DestinationIpPortTranslationNatRule[] DestinationIpPortTranslationNatRules)Set NAT网关的端口转换规则。voidsetNatGatewayId(String NatGatewayId)Set NAT网关的ID,形如:`nat-df45454`。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
-
CreateNatGatewayDestinationIpPortTranslationNatRuleRequest
public CreateNatGatewayDestinationIpPortTranslationNatRuleRequest()
-
CreateNatGatewayDestinationIpPortTranslationNatRuleRequest
public CreateNatGatewayDestinationIpPortTranslationNatRuleRequest(CreateNatGatewayDestinationIpPortTranslationNatRuleRequest 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`。
-
getDestinationIpPortTranslationNatRules
public DestinationIpPortTranslationNatRule[] getDestinationIpPortTranslationNatRules()
Get NAT网关的端口转换规则。- Returns:
- DestinationIpPortTranslationNatRules NAT网关的端口转换规则。
-
setDestinationIpPortTranslationNatRules
public void setDestinationIpPortTranslationNatRules(DestinationIpPortTranslationNatRule[] DestinationIpPortTranslationNatRules)
Set NAT网关的端口转换规则。- Parameters:
DestinationIpPortTranslationNatRules- NAT网关的端口转换规则。
-
-