Class DeleteClusterRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.DeleteClusterRequest
-
public class DeleteClusterRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DeleteClusterRequest()
DeleteClusterRequest(DeleteClusterRequest 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 String
getClusterId()
Get 集群IDString
getInstanceDeleteMode()
Get 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)ResourceDeleteOption[]
getResourceDeleteOptions()
Get 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)void
setClusterId(String ClusterId)
Set 集群IDvoid
setInstanceDeleteMode(String InstanceDeleteMode)
Set 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)void
setResourceDeleteOptions(ResourceDeleteOption[] ResourceDeleteOptions)
Set 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)void
toMap(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
-
DeleteClusterRequest
public DeleteClusterRequest()
-
DeleteClusterRequest
public DeleteClusterRequest(DeleteClusterRequest 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
-
getInstanceDeleteMode
public String getInstanceDeleteMode()
Get 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)- Returns:
- InstanceDeleteMode 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
-
setInstanceDeleteMode
public void setInstanceDeleteMode(String InstanceDeleteMode)
Set 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)- Parameters:
InstanceDeleteMode
- 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
-
getResourceDeleteOptions
public ResourceDeleteOption[] getResourceDeleteOptions()
Get 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)- Returns:
- ResourceDeleteOptions 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)
-
setResourceDeleteOptions
public void setResourceDeleteOptions(ResourceDeleteOption[] ResourceDeleteOptions)
Set 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)- Parameters:
ResourceDeleteOptions
- 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)
-
-