public class ModifyDBSyncModeRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ModifyDBSyncModeRequest() |
ModifyDBSyncModeRequest(ModifyDBSyncModeRequest 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 |
getInstanceId()
Get ID of the instance for which to modify the sync mode.
|
Long |
getSyncMode()
Get Sync mode.
|
void |
setInstanceId(String InstanceId)
Set ID of the instance for which to modify the sync mode.
|
void |
setSyncMode(Long SyncMode)
Set Sync mode.
|
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, toJsonStringpublic ModifyDBSyncModeRequest()
public ModifyDBSyncModeRequest(ModifyDBSyncModeRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - ID of the instance for which to modify the sync mode. The ID is in the format of dcdbt-ow728lmc.public Long getSyncMode()
public void setSyncMode(Long SyncMode)
SyncMode - Sync mode. Valid values: `0` (async), `1` (strong sync), `2` (downgradable strong sync).Copyright © 2025. All rights reserved.