Class SwitchClusterZoneRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cynosdb.v20190107.models.SwitchClusterZoneRequest
-
public class SwitchClusterZoneRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SwitchClusterZoneRequest()SwitchClusterZoneRequest(SwitchClusterZoneRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClusterId()Get 集群IdStringgetIsInMaintainPeriod()Get 维护期间执行-yes,立即执行-noStringgetNewZone()Get 要切换到的可用区StringgetOldZone()Get 当前可用区voidsetClusterId(String ClusterId)Set 集群IdvoidsetIsInMaintainPeriod(String IsInMaintainPeriod)Set 维护期间执行-yes,立即执行-novoidsetNewZone(String NewZone)Set 要切换到的可用区voidsetOldZone(String OldZone)Set 当前可用区voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SwitchClusterZoneRequest
public SwitchClusterZoneRequest()
-
SwitchClusterZoneRequest
public SwitchClusterZoneRequest(SwitchClusterZoneRequest 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.
-
-
Method Detail
-
getClusterId
public String getClusterId()
Get 集群Id- Returns:
- ClusterId 集群Id
-
setClusterId
public void setClusterId(String ClusterId)
Set 集群Id- Parameters:
ClusterId- 集群Id
-
getOldZone
public String getOldZone()
Get 当前可用区- Returns:
- OldZone 当前可用区
-
setOldZone
public void setOldZone(String OldZone)
Set 当前可用区- Parameters:
OldZone- 当前可用区
-
getNewZone
public String getNewZone()
Get 要切换到的可用区- Returns:
- NewZone 要切换到的可用区
-
setNewZone
public void setNewZone(String NewZone)
Set 要切换到的可用区- Parameters:
NewZone- 要切换到的可用区
-
getIsInMaintainPeriod
public String getIsInMaintainPeriod()
Get 维护期间执行-yes,立即执行-no- Returns:
- IsInMaintainPeriod 维护期间执行-yes,立即执行-no
-
setIsInMaintainPeriod
public void setIsInMaintainPeriod(String IsInMaintainPeriod)
Set 维护期间执行-yes,立即执行-no- Parameters:
IsInMaintainPeriod- 维护期间执行-yes,立即执行-no
-
-