public class DeleteClusterRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterId()
Get Cluster ID
|
String |
getInstanceDeleteMode()
Get Policy used to delete an instance in the cluster: terminate (terminates the instance.
|
ResourceDeleteOption[] |
getResourceDeleteOptions()
Get Specifies the policy to deal with resources in the cluster when the cluster is deleted.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setInstanceDeleteMode(String InstanceDeleteMode)
Set Policy used to delete an instance in the cluster: terminate (terminates the instance.
|
void |
setResourceDeleteOptions(ResourceDeleteOption[] ResourceDeleteOptions)
Set Specifies the policy to deal with resources in the cluster when the cluster is deleted.
|
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, toJsonString
public DeleteClusterRequest()
public DeleteClusterRequest(DeleteClusterRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic String getInstanceDeleteMode()
public void setInstanceDeleteMode(String InstanceDeleteMode)
InstanceDeleteMode
- Policy used to delete an instance in the cluster: terminate (terminates the instance. Only available for instances on pay-as-you-go CVMs); retain (only removes it from the cluster. The instance will be retained.)public ResourceDeleteOption[] getResourceDeleteOptions()
public void setResourceDeleteOptions(ResourceDeleteOption[] ResourceDeleteOptions)
ResourceDeleteOptions
- Specifies the policy to deal with resources in the cluster when the cluster is deleted. It only supports CBS now. The default policy is to retain CBS disks.Copyright © 2023. All rights reserved.