public class UpgradeHourDCDBInstanceRequest extends AbstractModel
Constructor and Description |
---|
UpgradeHourDCDBInstanceRequest() |
UpgradeHourDCDBInstanceRequest(UpgradeHourDCDBInstanceRequest 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 Add shards when `UpgradeType` is `ADD`.
|
ExpandShardConfig |
getExpandShardConfig()
Get Expand shard when `UpgradeType` is `EXPAND`.
|
String |
getInstanceId()
Get Instance ID to be upgraded in the format of dcdbt-ow728lmc, which can be obtained through the `DescribeDCDBInstances` API.
|
SplitShardConfig |
getSplitShardConfig()
Get Split shard when `UpgradeType` is `SPLIT`.
|
Long |
getSwitchAutoRetry()
Get Whether to retry automatically.
|
String |
getSwitchEndTime()
Get Switch end time in the format of "2019-12-12 07:15:00", which must be later than the start time.
|
String |
getSwitchStartTime()
Get Switch start time in the format of "2019-12-12 07:00:00", which is no less than one hour and within 3 days from the current time.
|
String |
getUpgradeType()
Get Upgrade type.
|
String[] |
getZones()
Get The list of new AZs specified in deployment modification.
|
void |
setAddShardConfig(AddShardConfig AddShardConfig)
Set Add shards when `UpgradeType` is `ADD`.
|
void |
setExpandShardConfig(ExpandShardConfig ExpandShardConfig)
Set Expand shard when `UpgradeType` is `EXPAND`.
|
void |
setInstanceId(String InstanceId)
Set Instance ID to be upgraded in the format of dcdbt-ow728lmc, which can be obtained through the `DescribeDCDBInstances` API.
|
void |
setSplitShardConfig(SplitShardConfig SplitShardConfig)
Set Split shard when `UpgradeType` is `SPLIT`.
|
void |
setSwitchAutoRetry(Long SwitchAutoRetry)
Set Whether to retry automatically.
|
void |
setSwitchEndTime(String SwitchEndTime)
Set Switch end time in the format of "2019-12-12 07:15:00", which must be later than the start time.
|
void |
setSwitchStartTime(String SwitchStartTime)
Set Switch start time in the format of "2019-12-12 07:00:00", which is no less than one hour and within 3 days from the current time.
|
void |
setUpgradeType(String UpgradeType)
Set Upgrade type.
|
void |
setZones(String[] Zones)
Set The list of new AZs specified in deployment modification.
|
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 UpgradeHourDCDBInstanceRequest()
public UpgradeHourDCDBInstanceRequest(UpgradeHourDCDBInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID to be upgraded in the format of dcdbt-ow728lmc, which can be obtained through the `DescribeDCDBInstances` API.public String getUpgradeType()
public void setUpgradeType(String UpgradeType)
UpgradeType
- Upgrade type. Valid values:
public AddShardConfig getAddShardConfig()
public void setAddShardConfig(AddShardConfig AddShardConfig)
AddShardConfig
- Add shards when `UpgradeType` is `ADD`.public ExpandShardConfig getExpandShardConfig()
public void setExpandShardConfig(ExpandShardConfig ExpandShardConfig)
ExpandShardConfig
- Expand shard when `UpgradeType` is `EXPAND`.public SplitShardConfig getSplitShardConfig()
public void setSplitShardConfig(SplitShardConfig SplitShardConfig)
SplitShardConfig
- Split shard when `UpgradeType` is `SPLIT`.public String getSwitchStartTime()
public void setSwitchStartTime(String SwitchStartTime)
SwitchStartTime
- Switch start time in the format of "2019-12-12 07:00:00", which is no less than one hour and within 3 days from the current time.public String getSwitchEndTime()
public void setSwitchEndTime(String SwitchEndTime)
SwitchEndTime
- Switch end time in the format of "2019-12-12 07:15:00", which must be later than the start time.public Long getSwitchAutoRetry()
public void setSwitchAutoRetry(Long SwitchAutoRetry)
SwitchAutoRetry
- Whether to retry automatically. Valid values: `0` (no), `1` (yes).public String[] getZones()
public void setZones(String[] Zones)
Zones
- The list of new AZs specified in deployment modification. The first one is the source AZ, and the rest are replica AZs.Copyright © 2023. All rights reserved.