public class ExistedInstance extends AbstractModel
Constructor and Description |
---|
ExistedInstance() |
ExistedInstance(ExistedInstance 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 |
getAlreadyInCluster()
Get ID of the cluster in which the instance currently resides.
|
String |
getAutoscalingGroupId()
Get Auto scaling group ID
Note: This field may return null, indicating that no valid value was found.
|
Long |
getCPU()
Get Instance's number of CPU cores.
|
String |
getCreatedTime()
Get Creation time, which follows the ISO8601 standard and uses UTC time.
|
String |
getInstanceChargeType()
Get Instance billing method.
|
String |
getInstanceId()
Get Instance ID, in the format of ins-xxxxxxxx.
|
String |
getInstanceName()
Get Instance name.
|
String |
getInstanceType()
Get Instance model.
|
String[] |
getIPv6Addresses()
Get IPv6 address of the instance
Note: This field may return `null`, indicating that no valid values can be obtained.
|
Long |
getMemory()
Get Instance's memory capacity.
|
String |
getOsName()
Get Operating system name.
|
String[] |
getPrivateIpAddresses()
Get List of private IPs of the instance's primary ENI.
|
String[] |
getPublicIpAddresses()
Get List of public IPs of the instance's primary ENI.
|
String |
getUnusableReason()
Get Reason that the instance does not support being added.
|
Boolean |
getUsable()
Get Whether the instance supports being added to the cluster (TRUE: support; FALSE: not support).
|
void |
setAlreadyInCluster(String AlreadyInCluster)
Set ID of the cluster in which the instance currently resides.
|
void |
setAutoscalingGroupId(String AutoscalingGroupId)
Set Auto scaling group ID
Note: This field may return null, indicating that no valid value was found.
|
void |
setCPU(Long CPU)
Set Instance's number of CPU cores.
|
void |
setCreatedTime(String CreatedTime)
Set Creation time, which follows the ISO8601 standard and uses UTC time.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Instance billing method.
|
void |
setInstanceId(String InstanceId)
Set Instance ID, in the format of ins-xxxxxxxx.
|
void |
setInstanceName(String InstanceName)
Set Instance name.
|
void |
setInstanceType(String InstanceType)
Set Instance model.
|
void |
setIPv6Addresses(String[] IPv6Addresses)
Set IPv6 address of the instance
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setMemory(Long Memory)
Set Instance's memory capacity.
|
void |
setOsName(String OsName)
Set Operating system name.
|
void |
setPrivateIpAddresses(String[] PrivateIpAddresses)
Set List of private IPs of the instance's primary ENI.
|
void |
setPublicIpAddresses(String[] PublicIpAddresses)
Set List of public IPs of the instance's primary ENI.
|
void |
setUnusableReason(String UnusableReason)
Set Reason that the instance does not support being added.
|
void |
setUsable(Boolean Usable)
Set Whether the instance supports being added to the cluster (TRUE: support; FALSE: not support).
|
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 ExistedInstance()
public ExistedInstance(ExistedInstance source)
public Boolean getUsable()
public void setUsable(Boolean Usable)
Usable
- Whether the instance supports being added to the cluster (TRUE: support; FALSE: not support).
Note: This field may return null, indicating that no valid values can be obtained.public String getUnusableReason()
public void setUnusableReason(String UnusableReason)
UnusableReason
- Reason that the instance does not support being added.
Note: This field may return null, indicating that no valid values can be obtained.public String getAlreadyInCluster()
public void setAlreadyInCluster(String AlreadyInCluster)
AlreadyInCluster
- ID of the cluster in which the instance currently resides.
Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID, in the format of ins-xxxxxxxx.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getPrivateIpAddresses()
public void setPrivateIpAddresses(String[] PrivateIpAddresses)
PrivateIpAddresses
- List of private IPs of the instance's primary ENI.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getPublicIpAddresses()
public void setPublicIpAddresses(String[] PublicIpAddresses)
PublicIpAddresses
- List of public IPs of the instance's primary ENI.
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, which follows the ISO8601 standard and uses UTC time. Format: YYYY-MM-DDThh:mm:ssZ.
Note: This field may return null, indicating that no valid values can be obtained.public Long getCPU()
public void setCPU(Long CPU)
CPU
- Instance's number of CPU cores. Unit: cores.
Note: This field may return null, indicating that no valid values can be obtained.public Long getMemory()
public void setMemory(Long Memory)
Memory
- Instance's memory capacity. Unit: GB.
Note: This field may return null, indicating that no valid values can be obtained.public String getOsName()
public void setOsName(String OsName)
OsName
- Operating system name.
Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Instance model.
Note: This field may return null, indicating that no valid values can be obtained.public String getAutoscalingGroupId()
public void setAutoscalingGroupId(String AutoscalingGroupId)
AutoscalingGroupId
- Auto scaling group ID
Note: This field may return null, indicating that no valid value was found.public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Instance billing method. Valid values: POSTPAID_BY_HOUR (pay-as-you-go hourly); CDHPAID (billed based on CDH, i.e., only CDH is billed but not the instances on CDH)
Note: This field may return null, indicating that no valid value was found.public String[] getIPv6Addresses()
public void setIPv6Addresses(String[] IPv6Addresses)
IPv6Addresses
- IPv6 address of the instance
Note: This field may return `null`, indicating that no valid values can be obtained.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.