public class ZookeeperRegionInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
ZookeeperRegionInfo() |
ZookeeperRegionInfo(ZookeeperRegionInfo 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 |
getDeployMode()
Get 部署架构信息
- SingleRegion: 普通单地域
- MultiRegion: 普通多地域场景
- MasterSlave: 两地域,主备地域场景
注意:此字段可能返回 null,表示取不到有效值。
|
ZookeeperRegionMyIdInfo |
getMainRegion()
Get 主地域的额外信息
注意:此字段可能返回 null,表示取不到有效值。
|
ZookeeperRegionMyIdInfo[] |
getOtherRegions()
Get 其他地域的额外信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDeployMode(String DeployMode)
Set 部署架构信息
- SingleRegion: 普通单地域
- MultiRegion: 普通多地域场景
- MasterSlave: 两地域,主备地域场景
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMainRegion(ZookeeperRegionMyIdInfo MainRegion)
Set 主地域的额外信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setOtherRegions(ZookeeperRegionMyIdInfo[] OtherRegions)
Set 其他地域的额外信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ZookeeperRegionInfo()
public ZookeeperRegionInfo(ZookeeperRegionInfo source)
public String getDeployMode()
public void setDeployMode(String DeployMode)
DeployMode
- 部署架构信息
- SingleRegion: 普通单地域
- MultiRegion: 普通多地域场景
- MasterSlave: 两地域,主备地域场景
注意:此字段可能返回 null,表示取不到有效值。public ZookeeperRegionMyIdInfo getMainRegion()
public void setMainRegion(ZookeeperRegionMyIdInfo MainRegion)
MainRegion
- 主地域的额外信息
注意:此字段可能返回 null,表示取不到有效值。public ZookeeperRegionMyIdInfo[] getOtherRegions()
public void setOtherRegions(ZookeeperRegionMyIdInfo[] OtherRegions)
OtherRegions
- 其他地域的额外信息
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.