Class ShardZoneChooseInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dcdb.v20180411.models.ShardZoneChooseInfo
-
public class ShardZoneChooseInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ShardZoneChooseInfo()
ShardZoneChooseInfo(ShardZoneChooseInfo 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 ZonesInfo
getMasterZone()
Get 主可用区ZonesInfo[]
getSlaveZones()
Get 可选的从可用区void
setMasterZone(ZonesInfo MasterZone)
Set 主可用区void
setSlaveZones(ZonesInfo[] SlaveZones)
Set 可选的从可用区void
toMap(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
-
ShardZoneChooseInfo
public ShardZoneChooseInfo()
-
ShardZoneChooseInfo
public ShardZoneChooseInfo(ShardZoneChooseInfo 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
-
getMasterZone
public ZonesInfo getMasterZone()
Get 主可用区- Returns:
- MasterZone 主可用区
-
setMasterZone
public void setMasterZone(ZonesInfo MasterZone)
Set 主可用区- Parameters:
MasterZone
- 主可用区
-
getSlaveZones
public ZonesInfo[] getSlaveZones()
Get 可选的从可用区- Returns:
- SlaveZones 可选的从可用区
-
setSlaveZones
public void setSlaveZones(ZonesInfo[] SlaveZones)
Set 可选的从可用区- Parameters:
SlaveZones
- 可选的从可用区
-
-