public class AssociateNatGatewayAddressRequest extends AbstractModel
Constructor and Description |
---|
AssociateNatGatewayAddressRequest() |
AssociateNatGatewayAddressRequest(AssociateNatGatewayAddressRequest 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 you want to apply for.
|
String |
getNatGatewayId()
Get The ID of the NAT gateway, such as `nat-df45454`.
|
String[] |
getPublicIpAddresses()
Get Array of the EIPs 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 |
getZone()
Get The availability zone of the EIP, which is passed in when the EIP is automatically assigned.
|
void |
setAddressCount(Long AddressCount)
Set The number of EIPs you want to apply for.
|
void |
setNatGatewayId(String NatGatewayId)
Set The ID of the NAT gateway, such as `nat-df45454`.
|
void |
setPublicIpAddresses(String[] PublicIpAddresses)
Set Array of the EIPs 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 |
setZone(String Zone)
Set The availability zone of the EIP, which is passed in when the EIP is automatically assigned.
|
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 AssociateNatGatewayAddressRequest()
public AssociateNatGatewayAddressRequest(AssociateNatGatewayAddressRequest source)
public String getNatGatewayId()
public void setNatGatewayId(String NatGatewayId)
NatGatewayId
- The ID of the NAT gateway, such as `nat-df45454`.public Long getAddressCount()
public void setAddressCount(Long AddressCount)
AddressCount
- The number of EIPs you want to apply for. Either `AddressCount` or `PublicAddresses` must be passed in.public String[] getPublicIpAddresses()
public void setPublicIpAddresses(String[] PublicIpAddresses)
PublicIpAddresses
- Array of the EIPs 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 of the EIP, which is passed in when the EIP is automatically assigned.public 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.