public class UpgradeDedicatedDCDBInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpgradeDedicatedDCDBInstanceRequest() |
UpgradeDedicatedDCDBInstanceRequest(UpgradeDedicatedDCDBInstanceRequest 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 |
---|---|
AddShardConfig |
getAddShardConfig()
Get A parameter for adding shards when `UpgradeType` is `ADD`.
|
ExpandShardConfig |
getExpandShardConfig()
Get A parameter for vertically expand a shard when `UpgradeType` is `EXPAND`.
|
String |
getInstanceId()
Get Instance ID, such as dcdbt-mlfjm74h.
|
SplitShardConfig |
getSplitShardConfig()
Get A parameter for splitting a shard when `UpgradeType` is `SPLIT`.
|
Long |
getSwitchAutoRetry()
Get Whether to automatically retry u200donce when missing the switch time window.
|
String |
getSwitchEndTime()
Get Switch end time
|
String |
getSwitchStartTime()
Get Switch u200dstart u200dtime
|
String |
getUpgradeType()
Get Upgrade type.
|
void |
setAddShardConfig(AddShardConfig AddShardConfig)
Set A parameter for adding shards when `UpgradeType` is `ADD`.
|
void |
setExpandShardConfig(ExpandShardConfig ExpandShardConfig)
Set A parameter for vertically expand a shard when `UpgradeType` is `EXPAND`.
|
void |
setInstanceId(String InstanceId)
Set Instance ID, such as dcdbt-mlfjm74h.
|
void |
setSplitShardConfig(SplitShardConfig SplitShardConfig)
Set A parameter for splitting a shard when `UpgradeType` is `SPLIT`.
|
void |
setSwitchAutoRetry(Long SwitchAutoRetry)
Set Whether to automatically retry u200donce when missing the switch time window.
|
void |
setSwitchEndTime(String SwitchEndTime)
Set Switch end time
|
void |
setSwitchStartTime(String SwitchStartTime)
Set Switch u200dstart u200dtime
|
void |
setUpgradeType(String UpgradeType)
Set Upgrade type.
|
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 UpgradeDedicatedDCDBInstanceRequest()
public UpgradeDedicatedDCDBInstanceRequest(UpgradeDedicatedDCDBInstanceRequest source)
public String getUpgradeType()
public void setUpgradeType(String UpgradeType)
UpgradeType
- Upgrade type. Valid values: `ADD` (add a shard), `SPLIT` (split a shard), and `EXPAND` (Vertically expand a shard).public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID, such as dcdbt-mlfjm74h.public AddShardConfig getAddShardConfig()
public void setAddShardConfig(AddShardConfig AddShardConfig)
AddShardConfig
- A parameter for adding shards when `UpgradeType` is `ADD`.public ExpandShardConfig getExpandShardConfig()
public void setExpandShardConfig(ExpandShardConfig ExpandShardConfig)
ExpandShardConfig
- A parameter for vertically expand a shard when `UpgradeType` is `EXPAND`.public SplitShardConfig getSplitShardConfig()
public void setSplitShardConfig(SplitShardConfig SplitShardConfig)
SplitShardConfig
- A parameter for splitting a shard when `UpgradeType` is `SPLIT`.public Long getSwitchAutoRetry()
public void setSwitchAutoRetry(Long SwitchAutoRetry)
SwitchAutoRetry
- Whether to automatically retry u200donce when missing the switch time window. Valid values: `0` (No), `1` (Yes).public String getSwitchStartTime()
public void setSwitchStartTime(String SwitchStartTime)
SwitchStartTime
- Switch u200dstart u200dtimepublic String getSwitchEndTime()
public void setSwitchEndTime(String SwitchEndTime)
SwitchEndTime
- Switch end timeCopyright © 2024. All rights reserved.