public class Instance extends AbstractModel
| Constructor and Description | 
|---|
| Instance() | 
| Instance(Instance 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 | 
|---|---|
| Boolean | getIfCommunity()Get Whether it is an open-source instance. | 
| String | getInstanceId()Get Instance ID | 
| String | getInstanceName()Get Instance name | 
| Long | getStatus()Get Instance status. | 
| void | setIfCommunity(Boolean IfCommunity)Set Whether it is an open-source instance. | 
| void | setInstanceId(String InstanceId)Set Instance ID | 
| void | setInstanceName(String InstanceName)Set Instance name | 
| void | setStatus(Long Status)Set Instance status. | 
| 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 Instance()
public Instance(Instance source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance IDpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - Instance namepublic Long getStatus()
public void setStatus(Long Status)
Status - Instance status. 0: creating, 1: running, 2: deleting, 5: isolated, -1: creation failedpublic Boolean getIfCommunity()
public void setIfCommunity(Boolean IfCommunity)
IfCommunity - Whether it is an open-source instance. true: yes, false: no
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.