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 you want to apply 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 size of the public network IP bandwidth to be applied for (in Mbps), which defaults to the maximum value applicable for the current user type.
|
Boolean |
getPublicIpFromSameZone()
Get Whether the public IP and the NAT gateway must be in the same availability zone.
|
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, which can be obtained from the `VpcId` field in response of the `DescribeVpcs` API.
|
String |
getZone()
Get The availability zone, such as `ap-guangzhou-1`.
|
void |
setAddressCount(Long AddressCount)
Set The number of EIPs that you want to apply 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 size of the public network IP bandwidth to be applied for (in Mbps), which defaults to the maximum value applicable for the current user type.
|
void |
setPublicIpFromSameZone(Boolean PublicIpFromSameZone)
Set Whether the public IP and the NAT gateway must be in the same availability zone.
|
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, which can be obtained from the `VpcId` field in response of the `DescribeVpcs` API.
|
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, which can be obtained from the `VpcId` field in response of the `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: `100`.public Long getMaxConcurrentConnection()
public void setMaxConcurrentConnection(Long MaxConcurrentConnection)
MaxConcurrentConnection
- The concurrent connection cap of the NAT gateway. Values: `1000000, 3000000, 10000000`. The default value is `1000000`.public Long getAddressCount()
public void setAddressCount(Long AddressCount)
AddressCount
- The number of EIPs that you want to apply for. Either `AddressCount` or `PublicIpAddresses` must be passed in.public String[] getPublicIpAddresses()
public void setPublicIpAddresses(String[] PublicIpAddresses)
PublicIpAddresses
- The EIP array bound to the NAT gateway. Either AddressCount or PublicIpAddresses 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 size of the public network IP bandwidth to be applied for (in Mbps), which defaults to the maximum value applicable for the current user type.public Boolean getPublicIpFromSameZone()
public void setPublicIpFromSameZone(Boolean PublicIpFromSameZone)
PublicIpFromSameZone
- Whether the public IP and the NAT gateway must be in the same availability zone. Valid values: `true` and `false`. This parameter is valid only when `Zone` is specified.Copyright © 2023. All rights reserved.