public class ClusterTopology extends AbstractModel
header, skipSign
Constructor and Description |
---|
ClusterTopology() |
ClusterTopology(ClusterTopology 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 |
---|---|
ReadonlyNode[] |
getReadOnlyNodes()
Get RO 节点拓扑。
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。
|
ReadWriteNode |
getReadWriteNode()
Get RW 节点拓扑。
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。
|
void |
setReadOnlyNodes(ReadonlyNode[] ReadOnlyNodes)
Set RO 节点拓扑。
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。
|
void |
setReadWriteNode(ReadWriteNode ReadWriteNode)
Set RW 节点拓扑。
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。
|
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 ClusterTopology()
public ClusterTopology(ClusterTopology source)
public ReadWriteNode getReadWriteNode()
public void setReadWriteNode(ReadWriteNode ReadWriteNode)
ReadWriteNode
- RW 节点拓扑。
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。public ReadonlyNode[] getReadOnlyNodes()
public void setReadOnlyNodes(ReadonlyNode[] ReadOnlyNodes)
ReadOnlyNodes
- RO 节点拓扑。
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。Copyright © 2025. All rights reserved.