public class ProxyInst extends AbstractModel
header, skipSign
Constructor and Description |
---|
ProxyInst() |
ProxyInst(ProxyInst 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 |
getInstanceId()
Get Instance ID Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getInstanceName()
Get Instance name Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getInstanceType()
Get Instance type.
|
String |
getRegion()
Get Instance region Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getStatus()
Get Instance status.
|
Long |
getWeight()
Get Read weight.
|
String |
getZone()
Get Instance AZ Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceId(String InstanceId)
Set Instance ID Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceName(String InstanceName)
Set Instance name Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceType(Long InstanceType)
Set Instance type.
|
void |
setRegion(String Region)
Set Instance region Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(Long Status)
Set Instance status.
|
void |
setWeight(Long Weight)
Set Read weight.
|
void |
setZone(String Zone)
Set Instance AZ 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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ProxyInst()
public ProxyInst(ProxyInst source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID Note: This field may return null, indicating that no valid values can be obtained.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 Long getInstanceType()
public void setInstanceType(Long InstanceType)
InstanceType
- Instance type. Valid values: `master` (source instance), `ro` (read-only instance), `dr` (disaster recovery instance), `sdr` (disaster recovery instance of small specifications). Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status
- Instance status. Valid values: `0` (creating), `1` (running), `4` (isolating), `5` (isolated). Note: This field may return null, indicating that no valid values can be obtained.public Long getWeight()
public void setWeight(Long Weight)
Weight
- Read weight. If it is assigned by the system automatically, the modification will not take effect but represents whether the instance is enabled. Note: This field may return null, indicating that no valid values can be obtained.public String getRegion()
public void setRegion(String Region)
Region
- Instance region Note: This field may return null, indicating that no valid values can be obtained.public String getZone()
public void setZone(String Zone)
Zone
- Instance AZ Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.