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 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 |
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 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 |
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, toJsonStringpublic 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. The system will create the same number of EIPs as you require. 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 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.