public class DBNode extends AbstractModel
Constructor and Description |
---|
DBNode() |
DBNode(DBNode 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 |
getRole()
Get Node type.
|
String |
getZone()
Get AZ where the node resides, such as ap-guangzhou-1.
|
void |
setRole(String Role)
Set Node type.
|
void |
setZone(String Zone)
Set AZ where the node resides, such as ap-guangzhou-1.
|
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 DBNode()
public DBNode(DBNode source)
public String getRole()
public void setRole(String Role)
Role
- Node type. Valid values:
`Primary`;
`Standby`.public String getZone()
public void setZone(String Zone)
Zone
- AZ where the node resides, such as ap-guangzhou-1.Copyright © 2023. All rights reserved.