public class CreateNatGatewayRequest extends AbstractModel
Constructor and Description |
---|
CreateNatGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getAddressCount()
Get The number of EIPs that needs to be applied for.
|
Long |
getInternetMaxBandwidthOut()
Get The maximum outbound bandwidth of the NAT gateway (unit: Mbps).
|
Long |
getMaxConcurrentConnection()
Get The concurrent connection cap of the NAT gateway.
|
String |
getNatGatewayName()
Get NAT gateway name
|
String[] |
getPublicIpAddresses()
Get The EIP array bound to the NAT gateway.
|
String |
getSubnetId()
Get Subnet of the NAT gateway
|
Tag[] |
getTags()
Get Bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
String |
getVpcId()
Get The ID of the VPC instance.
|
String |
getZone()
Get The availability zone, such as `ap-guangzhou-1`.
|
void |
setAddressCount(Long AddressCount)
Set The number of EIPs that needs to be applied for.
|
void |
setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
Set The maximum outbound bandwidth of the NAT gateway (unit: Mbps).
|
void |
setMaxConcurrentConnection(Long MaxConcurrentConnection)
Set The concurrent connection cap of the NAT gateway.
|
void |
setNatGatewayName(String NatGatewayName)
Set NAT gateway name
|
void |
setPublicIpAddresses(String[] PublicIpAddresses)
Set The EIP array bound to the NAT gateway.
|
void |
setSubnetId(String SubnetId)
Set Subnet of the NAT gateway
|
void |
setTags(Tag[] Tags)
Set Bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
void |
setVpcId(String VpcId)
Set The ID of the VPC instance.
|
void |
setZone(String Zone)
Set The availability zone, such as `ap-guangzhou-1`.
|
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 getNatGatewayName()
public void setNatGatewayName(String NatGatewayName)
NatGatewayName
- NAT gateway namepublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- The ID of the VPC instance. You can obtain the parameter value from the VpcId field in the returned result of DescribeVpcs API.public Long getInternetMaxBandwidthOut()
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
InternetMaxBandwidthOut
- The maximum outbound bandwidth of the NAT gateway (unit: Mbps). Supported parameter values: `20, 50, 100, 200, 500, 1000, 2000, 5000`. Default: `100Mbps`.public Long getMaxConcurrentConnection()
public void setMaxConcurrentConnection(Long MaxConcurrentConnection)
MaxConcurrentConnection
- The concurrent connection cap of the NAT gateway. Supported parameter values: `1000000, 3000000, 10000000`. The default value is `100000`.public Long getAddressCount()
public void setAddressCount(Long AddressCount)
AddressCount
- The number of EIPs that needs to be applied for. The system will create N number of EIPs according to your requirements. Either AddressCount or PublicAddresses must be passed in.public String[] getPublicIpAddresses()
public void setPublicIpAddresses(String[] PublicIpAddresses)
PublicIpAddresses
- The EIP array bound to the NAT gateway. Either AddressCount or PublicAddresses must be passed in.public String getZone()
public void setZone(String Zone)
Zone
- The availability zone, such as `ap-guangzhou-1`.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Bound tags, such as [{"Key": "city", "Value": "shanghai"}].public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet of the NAT gatewayCopyright © 2020. All rights reserved.