public class ModifyInstanceAvailabilityZonesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyInstanceAvailabilityZonesRequest() |
ModifyInstanceAvailabilityZonesRequest(ModifyInstanceAvailabilityZonesRequest 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 Specify the instance ID.
|
RedisNodeInfo[] |
getNodeSet()
Get Instance node information includes the node ID, node type, and node availability zone ID, and so on.
|
Long |
getSwitchOption()
Get Switch time.
|
void |
setInstanceId(String InstanceId)
Set Specify the instance ID.
|
void |
setNodeSet(RedisNodeInfo[] NodeSet)
Set Instance node information includes the node ID, node type, and node availability zone ID, and so on.
|
void |
setSwitchOption(Long SwitchOption)
Set Switch time.
|
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 ModifyInstanceAvailabilityZonesRequest()
public ModifyInstanceAvailabilityZonesRequest(ModifyInstanceAvailabilityZonesRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Specify the instance ID.
For example: crs-xjhsdj****, please log in to the [Redis Console] (https://console.cloud.tencent.com/redis#/) and copy the instance ID from the instance list.public Long getSwitchOption()
public void setSwitchOption(Long SwitchOption)
SwitchOption
- Switch time.
- 1: Switch during the maintenance window.
- 2: Switch immediately.public RedisNodeInfo[] getNodeSet()
public void setNodeSet(RedisNodeInfo[] NodeSet)
NodeSet
- Instance node information includes the node ID, node type, and node availability zone ID, and so on. For specific information, please see [RedisNodeInfo ](https://intl.cloud.tencent.com/document/product/239/20022?from_cn_redirect=1).
For instances in a single availability zone, there is no need to configure the NodeId. For instances in multiple availability zones, the NodeId is required to configure.Copyright © 2024. All rights reserved.