public class AssociateNatGatewayAddressRequest extends AbstractModel
Constructor and Description |
---|
AssociateNatGatewayAddressRequest() |
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.
|
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 |
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 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.Copyright © 2020. All rights reserved.