public class CreateNatGatewayRequest extends AbstractModel
Constructor and Description |
---|
CreateNatGatewayRequest() |
CreateNatGatewayRequest(CreateNatGatewayRequest 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 |
---|---|
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.
|
Long |
getPublicIpAddressesBandwidthOut()
Get The requested size of the public network IP bandwidth (in Mbps), which defaults to the maximum value applicable for the current user type.
|
Boolean |
getPublicIpFromSameZone()
Get
|
Long |
getStockPublicIpAddressesBandwidthOut()
Get The bandwidth size (in Mbps) of the EIP bound to the NAT gateway, which defaults to the maximum value applicable for the current user type.
|
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 |
setPublicIpAddressesBandwidthOut(Long PublicIpAddressesBandwidthOut)
Set The requested size of the public network IP bandwidth (in Mbps), which defaults to the maximum value applicable for the current user type.
|
void |
setPublicIpFromSameZone(Boolean PublicIpFromSameZone)
Set
|
void |
setStockPublicIpAddressesBandwidthOut(Long StockPublicIpAddressesBandwidthOut)
Set The bandwidth size (in Mbps) of the EIP bound to the NAT gateway, which defaults to the maximum value applicable for the current user type.
|
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 CreateNatGatewayRequest()
public CreateNatGatewayRequest(CreateNatGatewayRequest source)
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 gatewaypublic Long getStockPublicIpAddressesBandwidthOut()
public void setStockPublicIpAddressesBandwidthOut(Long StockPublicIpAddressesBandwidthOut)
StockPublicIpAddressesBandwidthOut
- The bandwidth size (in Mbps) of the EIP bound to the NAT gateway, which defaults to the maximum value applicable for the current user type.public Long getPublicIpAddressesBandwidthOut()
public void setPublicIpAddressesBandwidthOut(Long PublicIpAddressesBandwidthOut)
PublicIpAddressesBandwidthOut
- The requested size of the public network IP bandwidth (in Mbps), which defaults to the maximum value applicable for the current user type.public Boolean getPublicIpFromSameZone()
public void setPublicIpFromSameZone(Boolean PublicIpFromSameZone)
PublicIpFromSameZone
- Copyright © 2022. All rights reserved.