public class Address extends AbstractModel
Constructor and Description |
---|
Address() |
Address(Address 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 |
---|---|
String |
getAddressId()
Get Unique EIP ID.
|
String |
getAddressIp()
Get Public IP address
|
String |
getAddressName()
Get EIP name.
|
String |
getAddressStatus()
Get EIP status, including 'CREATING' (creating), 'BINDING' (binding), 'BIND' (bound), 'UNBINDING' (unbinding), 'UNBIND' (unbound), 'OFFLINING' (releasing), and 'BIND_ENI' (binding dangling ENI)
|
String |
getAddressType()
Get Resource type of the EIP, including `CalcIP` (device IP), `WanIP` (general public IP), `EIP` (elastic IP), and `AnycastEip` (accelerated EIP).
|
Long |
getBandwidth()
Get Bandwidth cap
Note: this field may return null, indicating that no valid values can be obtained.
|
Boolean |
getCascadeRelease()
Get Whether the EIP is automatically released after being unbound.
|
String |
getCreatedTime()
Get Creation time in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)
|
String |
getInstanceId()
Get ID of the bound resource instance.
|
String |
getInternetServiceProvider()
Get ISP.
|
Boolean |
getIsArrears()
Get Isolation status of the resource.
|
Boolean |
getIsBlocked()
Get Blockage status of the EIP resource.
|
Boolean |
getIsEipDirectConnection()
Get Whether the EIP supports direct access mode.
|
String |
getNetworkInterfaceId()
Get ID of the bound ENI
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getPayMode()
Get Billing mode
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getPrivateAddressIp()
Get Private IP of the bound resource
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setAddressId(String AddressId)
Set Unique EIP ID.
|
void |
setAddressIp(String AddressIp)
Set Public IP address
|
void |
setAddressName(String AddressName)
Set EIP name.
|
void |
setAddressStatus(String AddressStatus)
Set EIP status, including 'CREATING' (creating), 'BINDING' (binding), 'BIND' (bound), 'UNBINDING' (unbinding), 'UNBIND' (unbound), 'OFFLINING' (releasing), and 'BIND_ENI' (binding dangling ENI)
|
void |
setAddressType(String AddressType)
Set Resource type of the EIP, including `CalcIP` (device IP), `WanIP` (general public IP), `EIP` (elastic IP), and `AnycastEip` (accelerated EIP).
|
void |
setBandwidth(Long Bandwidth)
Set Bandwidth cap
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setCascadeRelease(Boolean CascadeRelease)
Set Whether the EIP is automatically released after being unbound.
|
void |
setCreatedTime(String CreatedTime)
Set Creation time in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)
|
void |
setInstanceId(String InstanceId)
Set ID of the bound resource instance.
|
void |
setInternetServiceProvider(String InternetServiceProvider)
Set ISP.
|
void |
setIsArrears(Boolean IsArrears)
Set Isolation status of the resource.
|
void |
setIsBlocked(Boolean IsBlocked)
Set Blockage status of the EIP resource.
|
void |
setIsEipDirectConnection(Boolean IsEipDirectConnection)
Set Whether the EIP supports direct access mode.
|
void |
setNetworkInterfaceId(String NetworkInterfaceId)
Set ID of the bound ENI
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPayMode(String PayMode)
Set Billing mode
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPrivateAddressIp(String PrivateAddressIp)
Set Private IP of the bound resource
Note: this field may return null, indicating that no valid values can be obtained.
|
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 Address()
public Address(Address source)
public String getAddressId()
public void setAddressId(String AddressId)
AddressId
- Unique EIP ID.public String getAddressName()
public void setAddressName(String AddressName)
AddressName
- EIP name.public String getAddressStatus()
public void setAddressStatus(String AddressStatus)
AddressStatus
- EIP status, including 'CREATING' (creating), 'BINDING' (binding), 'BIND' (bound), 'UNBINDING' (unbinding), 'UNBIND' (unbound), 'OFFLINING' (releasing), and 'BIND_ENI' (binding dangling ENI)public String getAddressIp()
public void setAddressIp(String AddressIp)
AddressIp
- Public IP addresspublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of the bound resource instance.
Note: this field may return null, indicating that no valid values can be obtained.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Creation time in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId
- ID of the bound ENI
Note: this field may return null, indicating that no valid values can be obtained.public String getPrivateAddressIp()
public void setPrivateAddressIp(String PrivateAddressIp)
PrivateAddressIp
- Private IP of the bound resource
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getIsArrears()
public void setIsArrears(Boolean IsArrears)
IsArrears
- Isolation status of the resource. true: isolated; false: not isolated.public Boolean getIsBlocked()
public void setIsBlocked(Boolean IsBlocked)
IsBlocked
- Blockage status of the EIP resource. true: blocked; false: not blockedpublic Boolean getIsEipDirectConnection()
public void setIsEipDirectConnection(Boolean IsEipDirectConnection)
IsEipDirectConnection
- Whether the EIP supports direct access mode. true: yes; false: no.public String getAddressType()
public void setAddressType(String AddressType)
AddressType
- Resource type of the EIP, including `CalcIP` (device IP), `WanIP` (general public IP), `EIP` (elastic IP), and `AnycastEip` (accelerated EIP).public Boolean getCascadeRelease()
public void setCascadeRelease(Boolean CascadeRelease)
CascadeRelease
- Whether the EIP is automatically released after being unbound. true: yes; false: nopublic String getInternetServiceProvider()
public void setInternetServiceProvider(String InternetServiceProvider)
InternetServiceProvider
- ISP. CTCC: China Telecom; CUCC: China Unicom; CMCC: China Mobile
Note: this field may return null, indicating that no valid values can be obtained.public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth
- Bandwidth cap
Note: this field may return null, indicating that no valid values can be obtained.public String getPayMode()
public void setPayMode(String PayMode)
PayMode
- Billing mode
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.