public class SourceIpTranslationNatRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SourceIpTranslationNatRule() | 
| SourceIpTranslationNatRule(SourceIpTranslationNatRule 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 | 
|---|---|
| String | getCreatedTime()Get The creation time of a NAT gateway's SNAT rule. | 
| String | getDescription()Get Description | 
| String | getNatGatewayId()Get NAT gateway ID. | 
| String | getNatGatewaySnatId()Get SNAT rule ID | 
| String | getPrivateIpAddress()Get Source IP/IP range | 
| String[] | getPublicIpAddresses()Get Elastic IP address pool | 
| String | getResourceId()Get Resource ID. | 
| String | getResourceType()Get Resource type. | 
| String | getVpcId()Get VPC ID. | 
| void | setCreatedTime(String CreatedTime)Set The creation time of a NAT gateway's SNAT rule. | 
| void | setDescription(String Description)Set Description | 
| void | setNatGatewayId(String NatGatewayId)Set NAT gateway ID. | 
| void | setNatGatewaySnatId(String NatGatewaySnatId)Set SNAT rule ID | 
| void | setPrivateIpAddress(String PrivateIpAddress)Set Source IP/IP range | 
| void | setPublicIpAddresses(String[] PublicIpAddresses)Set Elastic IP address pool | 
| void | setResourceId(String ResourceId)Set Resource ID. | 
| void | setResourceType(String ResourceType)Set Resource type. | 
| void | setVpcId(String VpcId)Set VPC ID. | 
| 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 SourceIpTranslationNatRule()
public SourceIpTranslationNatRule(SourceIpTranslationNatRule source)
public String getResourceId()
public void setResourceId(String ResourceId)
ResourceId - Resource ID. It can be left empty if `ResourceType` is `USERDEFINED`.public String getResourceType()
public void setResourceType(String ResourceType)
ResourceType - Resource type. Valid values: `SUBNET`, `NETWORKINTERFACE`, `USERDEFINED`
Note: This field may return null, indicating that no valid values can be obtained.public String getPrivateIpAddress()
public void setPrivateIpAddress(String PrivateIpAddress)
PrivateIpAddress - Source IP/IP rangepublic String[] getPublicIpAddresses()
public void setPublicIpAddresses(String[] PublicIpAddresses)
PublicIpAddresses - Elastic IP address poolpublic String getDescription()
public void setDescription(String Description)
Description - Descriptionpublic String getNatGatewaySnatId()
public void setNatGatewaySnatId(String NatGatewaySnatId)
NatGatewaySnatId - SNAT rule IDpublic String getNatGatewayId()
public void setNatGatewayId(String NatGatewayId)
NatGatewayId - NAT gateway ID.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC ID.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - The creation time of a NAT gateway's SNAT rule.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.