Class SetNodePoolNodeProtectionRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.SetNodePoolNodeProtectionRequest
-
public class SetNodePoolNodeProtectionRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SetNodePoolNodeProtectionRequest()SetNodePoolNodeProtectionRequest(SetNodePoolNodeProtectionRequest 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 StringgetClusterId()Get 集群idString[]getInstanceIds()Get 节点idStringgetNodePoolId()Get 节点池idBooleangetProtectedFromScaleIn()Get 节点是否需要移出保护voidsetClusterId(String ClusterId)Set 集群idvoidsetInstanceIds(String[] InstanceIds)Set 节点idvoidsetNodePoolId(String NodePoolId)Set 节点池idvoidsetProtectedFromScaleIn(Boolean ProtectedFromScaleIn)Set 节点是否需要移出保护voidtoMap(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
-
SetNodePoolNodeProtectionRequest
public SetNodePoolNodeProtectionRequest()
-
SetNodePoolNodeProtectionRequest
public SetNodePoolNodeProtectionRequest(SetNodePoolNodeProtectionRequest 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
-
getClusterId
public String getClusterId()
Get 集群id- Returns:
- ClusterId 集群id
-
setClusterId
public void setClusterId(String ClusterId)
Set 集群id- Parameters:
ClusterId- 集群id
-
getNodePoolId
public String getNodePoolId()
Get 节点池id- Returns:
- NodePoolId 节点池id
-
setNodePoolId
public void setNodePoolId(String NodePoolId)
Set 节点池id- Parameters:
NodePoolId- 节点池id
-
getInstanceIds
public String[] getInstanceIds()
Get 节点id- Returns:
- InstanceIds 节点id
-
setInstanceIds
public void setInstanceIds(String[] InstanceIds)
Set 节点id- Parameters:
InstanceIds- 节点id
-
getProtectedFromScaleIn
public Boolean getProtectedFromScaleIn()
Get 节点是否需要移出保护- Returns:
- ProtectedFromScaleIn 节点是否需要移出保护
-
setProtectedFromScaleIn
public void setProtectedFromScaleIn(Boolean ProtectedFromScaleIn)
Set 节点是否需要移出保护- Parameters:
ProtectedFromScaleIn- 节点是否需要移出保护
-
-