public class ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest extends AbstractModel
Constructor and Description |
---|
ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest() |
Modifier and Type | Method and Description |
---|---|
DestinationIpPortTranslationNatRule |
getDestinationNatRule()
Get The port forwarding rule of the destination NAT gateway.
|
String |
getNatGatewayId()
Get The ID of the NAT gateway, such as `nat-df45454`.
|
DestinationIpPortTranslationNatRule |
getSourceNatRule()
Get The port forwarding rule of the source NAT gateway.
|
void |
setDestinationNatRule(DestinationIpPortTranslationNatRule DestinationNatRule)
Set The port forwarding rule of the destination NAT gateway.
|
void |
setNatGatewayId(String NatGatewayId)
Set The ID of the NAT gateway, such as `nat-df45454`.
|
void |
setSourceNatRule(DestinationIpPortTranslationNatRule SourceNatRule)
Set The port forwarding rule of the source NAT gateway.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest()
public String getNatGatewayId()
public void setNatGatewayId(String NatGatewayId)
NatGatewayId
- The ID of the NAT gateway, such as `nat-df45454`.public DestinationIpPortTranslationNatRule getSourceNatRule()
public void setSourceNatRule(DestinationIpPortTranslationNatRule SourceNatRule)
SourceNatRule
- The port forwarding rule of the source NAT gateway.public DestinationIpPortTranslationNatRule getDestinationNatRule()
public void setDestinationNatRule(DestinationIpPortTranslationNatRule DestinationNatRule)
DestinationNatRule
- The port forwarding rule of the destination NAT gateway.Copyright © 2020. All rights reserved.