public class AllocateAddressesRequest extends AbstractModel
| Constructor and Description | 
|---|
| AllocateAddressesRequest() | 
| AllocateAddressesRequest(AllocateAddressesRequest 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 Number of EIPs. | 
| String | getEcmRegion()Get ECM region | 
| String | getInstanceId()Get ID of the instance to be bound. | 
| Long | getInternetMaxBandwidthOut()Get 1–5000 Mbps. | 
| String | getInternetServiceProvider()Get CMCC: China Mobile
CTCC: China Telecom
CUCC: China Unicom | 
| String | getNetworkInterfaceId()Get ID of the ENI to be bound, such as `eni-11112222`. | 
| String | getPrivateIpAddress()Get Private IP to be bound. | 
| Tag[] | getTags()Get List of tags to be bound. | 
| void | setAddressCount(Long AddressCount)Set Number of EIPs. | 
| void | setEcmRegion(String EcmRegion)Set ECM region | 
| void | setInstanceId(String InstanceId)Set ID of the instance to be bound. | 
| void | setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)Set 1–5000 Mbps. | 
| void | setInternetServiceProvider(String InternetServiceProvider)Set CMCC: China Mobile
CTCC: China Telecom
CUCC: China Unicom | 
| void | setNetworkInterfaceId(String NetworkInterfaceId)Set ID of the ENI to be bound, such as `eni-11112222`. | 
| void | setPrivateIpAddress(String PrivateIpAddress)Set Private IP to be bound. | 
| void | setTags(Tag[] Tags)Set List of tags to be bound. | 
| 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 AllocateAddressesRequest()
public AllocateAddressesRequest(AllocateAddressesRequest source)
public String getEcmRegion()
public void setEcmRegion(String EcmRegion)
EcmRegion - ECM regionpublic Long getAddressCount()
public void setAddressCount(Long AddressCount)
AddressCount - Number of EIPs. Default value: 1.public String getInternetServiceProvider()
public void setInternetServiceProvider(String InternetServiceProvider)
InternetServiceProvider - CMCC: China Mobile
CTCC: China Telecom
CUCC: China Unicompublic Long getInternetMaxBandwidthOut()
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
InternetMaxBandwidthOut - 1–5000 Mbps. Default value: 1 Mbps.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - List of tags to be bound.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - ID of the instance to be bound.public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId - ID of the ENI to be bound, such as `eni-11112222`. `NetworkInterfaceId` and `InstanceId` cannot be specified at the same time. The ENI ID can be obtained from the `networkInterfaceId` field in the returned value of the `DescribeNetworkInterfaces` API.public String getPrivateIpAddress()
public void setPrivateIpAddress(String PrivateIpAddress)
PrivateIpAddress - Private IP to be bound. If you specify `NetworkInterfaceId`, you must also specify `PrivateIpAddress`, which means to bind the EIP to the specified private IP of the specified ENI. You must also make sure that the specified `PrivateIpAddress` is a private IP of the specified `NetworkInterfaceId`. The private IP of the specified ENI can be obtained from the `privateIpAddress` field in the returned value of the `DescribeNetworkInterfaces` API.Copyright © 2022. All rights reserved.