public class ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest extends AbstractModel
header, skipSign| Constructor and 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. 
 | 
| 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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest()
public ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest(ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest source)
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 © 2025. All rights reserved.