Class ScaleInMaster
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.ScaleInMaster
-
public class ScaleInMaster extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ScaleInMaster()ScaleInMaster(ScaleInMaster 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInstanceDeleteMode()Get 实例的保留模式StringgetInstanceId()Get 实例IDStringgetNodeRole()Get 缩容的实例角色:MASTER,ETCD,MASTER_ETCDvoidsetInstanceDeleteMode(String InstanceDeleteMode)Set 实例的保留模式voidsetInstanceId(String InstanceId)Set 实例IDvoidsetNodeRole(String NodeRole)Set 缩容的实例角色:MASTER,ETCD,MASTER_ETCDvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ScaleInMaster
public ScaleInMaster()
-
ScaleInMaster
public ScaleInMaster(ScaleInMaster 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.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 实例ID- Returns:
- InstanceId 实例ID
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID- Parameters:
InstanceId- 实例ID
-
getNodeRole
public String getNodeRole()
Get 缩容的实例角色:MASTER,ETCD,MASTER_ETCD- Returns:
- NodeRole 缩容的实例角色:MASTER,ETCD,MASTER_ETCD
-
setNodeRole
public void setNodeRole(String NodeRole)
Set 缩容的实例角色:MASTER,ETCD,MASTER_ETCD- Parameters:
NodeRole- 缩容的实例角色:MASTER,ETCD,MASTER_ETCD
-
getInstanceDeleteMode
public String getInstanceDeleteMode()
Get 实例的保留模式- Returns:
- InstanceDeleteMode 实例的保留模式
-
setInstanceDeleteMode
public void setInstanceDeleteMode(String InstanceDeleteMode)
Set 实例的保留模式- Parameters:
InstanceDeleteMode- 实例的保留模式
-
-