public class NatGateway extends AbstractModel
Constructor and Description |
---|
NatGateway() |
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
|
Long |
getInternetMaxBandwidthOut()
Get The maximum outbound bandwidth of the gateway.
|
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 |
getState()
Get The status of the NAT gateway.
|
String |
getSubnetId()
Get
|
Tag[] |
getTagSet()
Get Tag key-value pair.
|
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
|
void |
setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
Set The maximum outbound bandwidth of the gateway.
|
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 |
setState(String State)
Set The status of the NAT gateway.
|
void |
setSubnetId(String SubnetId)
Set
|
void |
setTagSet(Tag[] TagSet)
Set Tag key-value pair.
|
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 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': Creating, 'DELETING': Deleting, 'AVAILABLE': Operating, 'UPDATING': Upgrading,
‘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`: Account is in arrears and the service is suspended.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
- public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- public Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet
- Tag key-value pair.Copyright © 2020. All rights reserved.