public class ModifyDBSyncModeRequest extends AbstractModel
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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 © 2023. All rights reserved.