public class SetDBInstanceDeletionProtectionRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
SetDBInstanceDeletionProtectionRequest() |
SetDBInstanceDeletionProtectionRequest(SetDBInstanceDeletionProtectionRequest 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 |
---|---|
Long |
getEnableDeletionProtection()
Get Instance termination protection switch.
|
String[] |
getInstanceIds()
Get Instance ID list, in the format of cmgo-p8vnipr5.
|
void |
setEnableDeletionProtection(Long EnableDeletionProtection)
Set Instance termination protection switch.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance ID list, in the format of cmgo-p8vnipr5.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SetDBInstanceDeletionProtectionRequest()
public SetDBInstanceDeletionProtectionRequest(SetDBInstanceDeletionProtectionRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance ID list, in the format of cmgo-p8vnipr5. It is the same as the format of the instance ID displayed on the TencentDB for MongoDB console page.public Long getEnableDeletionProtection()
public void setEnableDeletionProtection(Long EnableDeletionProtection)
EnableDeletionProtection
- Instance termination protection switch. Valid values: 0 - disabled; 1 - enabled.Copyright © 2025. All rights reserved.