public class NatGateway extends AbstractModel
Constructor and Description |
---|
NatGateway() |
NatGateway(NatGateway 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 NAT gateway creation time.
|
DestinationIpPortTranslationNatRule[] |
getDestinationIpPortTranslationNatRuleSet()
Get The port forwarding rules of the NAT gateway.
|
String[] |
getDirectConnectGatewayIds()
Get ID of the direct connect gateway bound.
|
Long |
getExclusiveGatewayBandwidth()
Get Bandwidth of the gateway cluster where the dedicated NAT Gateway resides.
|
Long |
getInternetMaxBandwidthOut()
Get The maximum outbound bandwidth of the gateway.
|
Boolean |
getIsExclusive()
Get Whether the NAT gateway is dedicated.
|
Long |
getMaxConcurrentConnection()
Get The concurrent connections cap of the gateway.
|
String |
getNatGatewayId()
Get NAT gateway ID.
|
String |
getNatGatewayName()
Get NAT gateway name.
|
String |
getNetworkState()
Get The NAT gateway status.
|
NatGatewayAddress[] |
getPublicIpAddressSet()
Get The public IP object array of the bound NAT gateway.
|
String |
getRestrictState()
Get Whether the NAT gateway is blocked.
|
String[] |
getSecurityGroupSet()
Get The list of the security groups bound to the NAT Gateway
Note: This field may return `null`, indicating that no valid values can be obtained.
|
SourceIpTranslationNatRule[] |
getSourceIpTranslationNatRuleSet()
Get SNAT forwarding rule of the NAT gateway.
|
String |
getState()
Get The status of the NAT gateway.
|
String |
getSubnetId()
Get Subnet ID.
|
Tag[] |
getTagSet()
Get Tag key-value pairs.
|
String |
getVpcId()
Get VPC instance ID.
|
String |
getZone()
Get The availability zone in which the NAT gateway is located.
|
void |
setCreatedTime(String CreatedTime)
Set NAT gateway creation time.
|
void |
setDestinationIpPortTranslationNatRuleSet(DestinationIpPortTranslationNatRule[] DestinationIpPortTranslationNatRuleSet)
Set The port forwarding rules of the NAT gateway.
|
void |
setDirectConnectGatewayIds(String[] DirectConnectGatewayIds)
Set ID of the direct connect gateway bound.
|
void |
setExclusiveGatewayBandwidth(Long ExclusiveGatewayBandwidth)
Set Bandwidth of the gateway cluster where the dedicated NAT Gateway resides.
|
void |
setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
Set The maximum outbound bandwidth of the gateway.
|
void |
setIsExclusive(Boolean IsExclusive)
Set Whether the NAT gateway is dedicated.
|
void |
setMaxConcurrentConnection(Long MaxConcurrentConnection)
Set The concurrent connections cap of the gateway.
|
void |
setNatGatewayId(String NatGatewayId)
Set NAT gateway ID.
|
void |
setNatGatewayName(String NatGatewayName)
Set NAT gateway name.
|
void |
setNetworkState(String NetworkState)
Set The NAT gateway status.
|
void |
setPublicIpAddressSet(NatGatewayAddress[] PublicIpAddressSet)
Set The public IP object array of the bound NAT gateway.
|
void |
setRestrictState(String RestrictState)
Set Whether the NAT gateway is blocked.
|
void |
setSecurityGroupSet(String[] SecurityGroupSet)
Set The list of the security groups bound to the NAT Gateway
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setSourceIpTranslationNatRuleSet(SourceIpTranslationNatRule[] SourceIpTranslationNatRuleSet)
Set SNAT forwarding rule of the NAT gateway.
|
void |
setState(String State)
Set The status of the NAT gateway.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID.
|
void |
setTagSet(Tag[] TagSet)
Set Tag key-value pairs.
|
void |
setVpcId(String VpcId)
Set VPC instance ID.
|
void |
setZone(String Zone)
Set The availability zone in which the NAT gateway is located.
|
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 NatGateway()
public NatGateway(NatGateway source)
public String getNatGatewayId()
public void setNatGatewayId(String NatGatewayId)
NatGatewayId
- NAT gateway ID.public String getNatGatewayName()
public void setNatGatewayName(String NatGatewayName)
NatGatewayName
- NAT gateway name.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- NAT gateway creation time.public String getState()
public void setState(String State)
State
- The status of the NAT gateway.
`PENDING`: Being created, `DELETING`: Being deleted, `AVAILABLE`: Running, `UPDATING`: Being upgraded,
`FAILED`: Failed.public Long getInternetMaxBandwidthOut()
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
InternetMaxBandwidthOut
- The maximum outbound bandwidth of the gateway. Unit: Mbps.public Long getMaxConcurrentConnection()
public void setMaxConcurrentConnection(Long MaxConcurrentConnection)
MaxConcurrentConnection
- The concurrent connections cap of the gateway.public NatGatewayAddress[] getPublicIpAddressSet()
public void setPublicIpAddressSet(NatGatewayAddress[] PublicIpAddressSet)
PublicIpAddressSet
- The public IP object array of the bound NAT gateway.public String getNetworkState()
public void setNetworkState(String NetworkState)
NetworkState
- The NAT gateway status. `AVAILABLE`: Operating, `UNAVAILABLE`: Unavailable, `INSUFFICIENT`: Service suspended due to account overdue.public DestinationIpPortTranslationNatRule[] getDestinationIpPortTranslationNatRuleSet()
public void setDestinationIpPortTranslationNatRuleSet(DestinationIpPortTranslationNatRule[] DestinationIpPortTranslationNatRuleSet)
DestinationIpPortTranslationNatRuleSet
- The port forwarding rules of the NAT gateway.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC instance ID.public String getZone()
public void setZone(String Zone)
Zone
- The availability zone in which the NAT gateway is located.public String[] getDirectConnectGatewayIds()
public void setDirectConnectGatewayIds(String[] DirectConnectGatewayIds)
DirectConnectGatewayIds
- ID of the direct connect gateway bound.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID.
Note: This field may return `null`, indicating that no valid values can be obtained.public Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet
- Tag key-value pairs.public String[] getSecurityGroupSet()
public void setSecurityGroupSet(String[] SecurityGroupSet)
SecurityGroupSet
- The list of the security groups bound to the NAT Gateway
Note: This field may return `null`, indicating that no valid values can be obtained.public SourceIpTranslationNatRule[] getSourceIpTranslationNatRuleSet()
public void setSourceIpTranslationNatRuleSet(SourceIpTranslationNatRule[] SourceIpTranslationNatRuleSet)
SourceIpTranslationNatRuleSet
- SNAT forwarding rule of the NAT gateway.
Note: This field may return `null`, indicating that no valid values can be obtained.public Boolean getIsExclusive()
public void setIsExclusive(Boolean IsExclusive)
IsExclusive
- Whether the NAT gateway is dedicated.
Note: This field may return `null`, indicating that no valid values can be obtained.public Long getExclusiveGatewayBandwidth()
public void setExclusiveGatewayBandwidth(Long ExclusiveGatewayBandwidth)
ExclusiveGatewayBandwidth
- Bandwidth of the gateway cluster where the dedicated NAT Gateway resides. Unit: Mbps. This field does not exist when the `IsExclusive` field is set to `false`.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getRestrictState()
public void setRestrictState(String RestrictState)
RestrictState
- Whether the NAT gateway is blocked. Values: `NORMAL`, `RESTRICTED`
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.