public class ResourceDeleteOption extends AbstractModel
header, skipSign
Constructor and Description |
---|
ResourceDeleteOption() |
ResourceDeleteOption(ResourceDeleteOption 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 |
getDeleteMode()
Get Deletion mode for CBS resources when the cluster is deleted: terminate, retain.
|
String |
getResourceType()
Get Resource type, such as CBS, CLB, CVM
|
Boolean |
getSkipDeletionProtection()
Get Whether to skip the resources with deletion protection enabled.
|
void |
setDeleteMode(String DeleteMode)
Set Deletion mode for CBS resources when the cluster is deleted: terminate, retain.
|
void |
setResourceType(String ResourceType)
Set Resource type, such as CBS, CLB, CVM
|
void |
setSkipDeletionProtection(Boolean SkipDeletionProtection)
Set Whether to skip the resources with deletion protection enabled.
|
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 ResourceDeleteOption()
public ResourceDeleteOption(ResourceDeleteOption source)
public String getResourceType()
public void setResourceType(String ResourceType)
ResourceType
- Resource type, such as CBS, CLB, CVMpublic String getDeleteMode()
public void setDeleteMode(String DeleteMode)
DeleteMode
- Deletion mode for CBS resources when the cluster is deleted: terminate, retain. Other resources are terminated by default.public Boolean getSkipDeletionProtection()
public void setSkipDeletionProtection(Boolean SkipDeletionProtection)
SkipDeletionProtection
- Whether to skip the resources with deletion protection enabled. It is false by default. When set to true, the resources with deletion protection enabled are not cleaned up. CLB with terminal nodes also belongs to the resources with deletion protection enabled.Copyright © 2024. All rights reserved.