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 集群删除时CBS资源的删除模式:terminate(销毁),retain (保留)。其他资源默认为销毁。
|
String |
getResourceType()
Get 资源类型,例如CBS、CLB、CVM
|
Boolean |
getSkipDeletionProtection()
Get 是否跳过开启删除保护的资源,默认false,设置为true时不清理开启了删除保护的资源,clb有终端节点的情况也属于开了删除保护。
|
void |
setDeleteMode(String DeleteMode)
Set 集群删除时CBS资源的删除模式:terminate(销毁),retain (保留)。其他资源默认为销毁。
|
void |
setResourceType(String ResourceType)
Set 资源类型,例如CBS、CLB、CVM
|
void |
setSkipDeletionProtection(Boolean SkipDeletionProtection)
Set 是否跳过开启删除保护的资源,默认false,设置为true时不清理开启了删除保护的资源,clb有终端节点的情况也属于开了删除保护。
|
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
- 资源类型,例如CBS、CLB、CVMpublic String getDeleteMode()
public void setDeleteMode(String DeleteMode)
DeleteMode
- 集群删除时CBS资源的删除模式:terminate(销毁),retain (保留)。其他资源默认为销毁。public Boolean getSkipDeletionProtection()
public void setSkipDeletionProtection(Boolean SkipDeletionProtection)
SkipDeletionProtection
- 是否跳过开启删除保护的资源,默认false,设置为true时不清理开启了删除保护的资源,clb有终端节点的情况也属于开了删除保护。Copyright © 2024. All rights reserved.