public class Instance extends AbstractModel
header, skipSign
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 |
---|---|
String |
getCreatedTime()
Get Adding time
|
ExternalNodeInfo |
getExternal()
Get Third-party node parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getFailedReason()
Get Cause of instance exception (or initialization)
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getInstanceId()
Get Instance ID
|
String |
getInstanceRole()
Get Node role: MASTER, WORKER, ETCD, MASTER_ETCD, and ALL.
|
String |
getInstanceState()
Get Instance status
- initializing
- running
- failed
|
String |
getLanIP()
Get Node private network IP
Note: This field may return "null", indicating that no valid value can be obtained.
|
NativeNodeInfo |
getNative()
Get Native node parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getNodePoolId()
Get Resource pool ID
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getNodeType()
Get Node type
Note: This field may return "null", indicating that no valid value can be obtained.
|
RegularNodeInfo |
getRegular()
Get General node parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
SuperNodeInfo |
getSuper()
Get Super node parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
Boolean |
getUnschedulable()
Get Whether it is unschedulable
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setCreatedTime(String CreatedTime)
Set Adding time
|
void |
setExternal(ExternalNodeInfo External)
Set Third-party node parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setFailedReason(String FailedReason)
Set Cause of instance exception (or initialization)
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setInstanceRole(String InstanceRole)
Set Node role: MASTER, WORKER, ETCD, MASTER_ETCD, and ALL.
|
void |
setInstanceState(String InstanceState)
Set Instance status
- initializing
- running
- failed
|
void |
setLanIP(String LanIP)
Set Node private network IP
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setNative(NativeNodeInfo Native)
Set Native node parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setNodePoolId(String NodePoolId)
Set Resource pool ID
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setNodeType(String NodeType)
Set Node type
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setRegular(RegularNodeInfo Regular)
Set General node parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setSuper(SuperNodeInfo Super)
Set Super node parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setUnschedulable(Boolean Unschedulable)
Set Whether it is unschedulable
Note: This field may return "null", indicating that no valid value 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 Instance()
public Instance(Instance source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getInstanceRole()
public void setInstanceRole(String InstanceRole)
InstanceRole
- Node role: MASTER, WORKER, ETCD, MASTER_ETCD, and ALL. Default value: WORKERpublic String getFailedReason()
public void setFailedReason(String FailedReason)
FailedReason
- Cause of instance exception (or initialization)
Note: This field may return "null", indicating that no valid value can be obtained.public String getInstanceState()
public void setInstanceState(String InstanceState)
InstanceState
- Instance status
- initializing
- running
- failedpublic Boolean getUnschedulable()
public void setUnschedulable(Boolean Unschedulable)
Unschedulable
- Whether it is unschedulable
Note: This field may return "null", indicating that no valid value can be obtained.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Adding timepublic String getLanIP()
public void setLanIP(String LanIP)
LanIP
- Node private network IP
Note: This field may return "null", indicating that no valid value can be obtained.public String getNodePoolId()
public void setNodePoolId(String NodePoolId)
NodePoolId
- Resource pool ID
Note: This field may return "null", indicating that no valid value can be obtained.public NativeNodeInfo getNative()
public void setNative(NativeNodeInfo Native)
Native
- Native node parameters
Note: This field may return "null", indicating that no valid value can be obtained.public RegularNodeInfo getRegular()
public void setRegular(RegularNodeInfo Regular)
Regular
- General node parameters
Note: This field may return "null", indicating that no valid value can be obtained.public SuperNodeInfo getSuper()
public void setSuper(SuperNodeInfo Super)
Super
- Super node parameters
Note: This field may return "null", indicating that no valid value can be obtained.public ExternalNodeInfo getExternal()
public void setExternal(ExternalNodeInfo External)
External
- Third-party node parameters
Note: This field may return "null", indicating that no valid value can be obtained.public String getNodeType()
public void setNodeType(String NodeType)
NodeType
- Node type
Note: This field may return "null", indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.