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 `EIP` `ID`, the unique ID of the `EIP`.
|
String |
getAddressIp()
Get The public IP address
|
String |
getAddressName()
Get The `EIP` name.
|
String |
getAddressStatus()
Get Possible `EIP` states are 'CREATING', 'BINDING', 'BIND', 'UNBINDING', 'UNBIND', 'OFFLINING', and 'BIND_ENI'.
|
String |
getAddressType()
Get IP type.
|
Long |
getBandwidth()
Get Bandwidth value of EIP.
|
Boolean |
getCascadeRelease()
Get Whether the EIP is automatically released after being unbound.
|
String |
getCreatedTime()
Get The creation time, which follows the `ISO8601` standard and uses `UTC` time in the format of `YYYY-MM-DDThh:mm:ssZ`.
|
AlgType |
getEipAlgType()
Get Type of the protocol used in EIP ALG
|
String |
getInstanceId()
Get The ID of the bound resource instance.
|
String |
getInternetChargeType()
Get Network billing mode of EIP.
|
String |
getInternetServiceProvider()
Get The ISP of an EIP/Elastic IP, with possible return values currently including "CMCC", "CTCC", "CUCC" and "BGP"
|
Boolean |
getIsArrears()
Get The isolation status of the resource.
|
Boolean |
getIsBlocked()
Get The block status of the resource.
|
Boolean |
getIsEipDirectConnection()
Get Whether the EIP supports direct connection mode.
|
Boolean |
getLocalBgp()
Get Whether the EIP is in a local BGP.
|
String |
getNetworkInterfaceId()
Get The ID of the bound ENI
|
String |
getPrivateAddressIp()
Get The private IP of the bound resources
|
Tag[] |
getTagSet()
Get List of tags associated with the EIP
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setAddressId(String AddressId)
Set `EIP` `ID`, the unique ID of the `EIP`.
|
void |
setAddressIp(String AddressIp)
Set The public IP address
|
void |
setAddressName(String AddressName)
Set The `EIP` name.
|
void |
setAddressStatus(String AddressStatus)
Set Possible `EIP` states are 'CREATING', 'BINDING', 'BIND', 'UNBINDING', 'UNBIND', 'OFFLINING', and 'BIND_ENI'.
|
void |
setAddressType(String AddressType)
Set IP type.
|
void |
setBandwidth(Long Bandwidth)
Set Bandwidth value of EIP.
|
void |
setCascadeRelease(Boolean CascadeRelease)
Set Whether the EIP is automatically released after being unbound.
|
void |
setCreatedTime(String CreatedTime)
Set The creation time, which follows the `ISO8601` standard and uses `UTC` time in the format of `YYYY-MM-DDThh:mm:ssZ`.
|
void |
setEipAlgType(AlgType EipAlgType)
Set Type of the protocol used in EIP ALG
|
void |
setInstanceId(String InstanceId)
Set The ID of the bound resource instance.
|
void |
setInternetChargeType(String InternetChargeType)
Set Network billing mode of EIP.
|
void |
setInternetServiceProvider(String InternetServiceProvider)
Set The ISP of an EIP/Elastic IP, with possible return values currently including "CMCC", "CTCC", "CUCC" and "BGP"
|
void |
setIsArrears(Boolean IsArrears)
Set The isolation status of the resource.
|
void |
setIsBlocked(Boolean IsBlocked)
Set The block status of the resource.
|
void |
setIsEipDirectConnection(Boolean IsEipDirectConnection)
Set Whether the EIP supports direct connection mode.
|
void |
setLocalBgp(Boolean LocalBgp)
Set Whether the EIP is in a local BGP.
|
void |
setNetworkInterfaceId(String NetworkInterfaceId)
Set The ID of the bound ENI
|
void |
setPrivateAddressIp(String PrivateAddressIp)
Set The private IP of the bound resources
|
void |
setTagSet(Tag[] TagSet)
Set List of tags associated with the EIP
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
- `EIP` `ID`, the unique ID of the `EIP`.public String getAddressName()
public void setAddressName(String AddressName)
AddressName
- The `EIP` name.public String getAddressStatus()
public void setAddressStatus(String AddressStatus)
AddressStatus
- Possible `EIP` states are 'CREATING', 'BINDING', 'BIND', 'UNBINDING', 'UNBIND', 'OFFLINING', and 'BIND_ENI'.public String getAddressIp()
public void setAddressIp(String AddressIp)
AddressIp
- The public IP addresspublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- The ID of the bound resource instance. This can be a `CVM` or `NAT`.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- The creation time, which follows the `ISO8601` standard and uses `UTC` time in the format of `YYYY-MM-DDThh:mm:ssZ`.public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId
- The ID of the bound ENIpublic String getPrivateAddressIp()
public void setPrivateAddressIp(String PrivateAddressIp)
PrivateAddressIp
- The private IP of the bound resourcespublic Boolean getIsArrears()
public void setIsArrears(Boolean IsArrears)
IsArrears
- The isolation status of the resource. `True` indicates the EIP is isolated. `False` indicates that the resource is not isolated.public Boolean getIsBlocked()
public void setIsBlocked(Boolean IsBlocked)
IsBlocked
- The block status of the resource. `True` indicates the EIP is blocked. `False` indicates that the EIP is not blocked.public Boolean getIsEipDirectConnection()
public void setIsEipDirectConnection(Boolean IsEipDirectConnection)
IsEipDirectConnection
- Whether the EIP supports direct connection mode. `True` indicates the EIP supports direct connection. `False` indicates that the resource does not support direct connection.public String getAddressType()
public void setAddressType(String AddressType)
AddressType
- IP type. Valid values: `CalcIP` (device IP), `WanIP` (public network IP), `EIP` (general elastic IP), `AnycastEIP` (accelerated EIP), and `AntiDDoSEIP` (Anti DDoS EIP).public Boolean getCascadeRelease()
public void setCascadeRelease(Boolean CascadeRelease)
CascadeRelease
- Whether the EIP is automatically released after being unbound. `True` indicates the EIP will be automatically released after being unbound. `False` indicates the EIP will not be automatically released after being unbound.public AlgType getEipAlgType()
public void setEipAlgType(AlgType EipAlgType)
EipAlgType
- Type of the protocol used in EIP ALGpublic String getInternetServiceProvider()
public void setInternetServiceProvider(String InternetServiceProvider)
InternetServiceProvider
- The ISP of an EIP/Elastic IP, with possible return values currently including "CMCC", "CTCC", "CUCC" and "BGP"public Boolean getLocalBgp()
public void setLocalBgp(Boolean LocalBgp)
LocalBgp
- Whether the EIP is in a local BGP.public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth
- Bandwidth value of EIP. The EIP for the bill-by-CVM account will return `null`.
Note: this field may return `null`, indicating that no valid value was found.public String getInternetChargeType()
Prepaid by monthly-subscribed bandwidth.
Pay-as-you-go billing by hourly traffic.
Pay-as-you-go billing by hourly bandwidth.
Bandwidth package.
Note: this field may return `null`, indicating that no valid value was found.Prepaid by monthly-subscribed bandwidth.
Pay-as-you-go billing by hourly traffic.
Pay-as-you-go billing by hourly bandwidth.
Bandwidth package.
Note: this field may return `null`, indicating that no valid value was found.public void setInternetChargeType(String InternetChargeType)
Prepaid by monthly-subscribed bandwidth.
Pay-as-you-go billing by hourly traffic.
Pay-as-you-go billing by hourly bandwidth.
Bandwidth package.
Note: this field may return `null`, indicating that no valid value was found.InternetChargeType
- Network billing mode of EIP. The EIP for the bill-by-CVM account will return `null`.
Note: this field may return `null`, indicating that no valid value was found.
Including:
Prepaid by monthly-subscribed bandwidth.
Pay-as-you-go billing by hourly traffic.
Pay-as-you-go billing by hourly bandwidth.
Bandwidth package.
Note: this field may return `null`, indicating that no valid value was found.public Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet
- List of tags associated with the EIP
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.