| Package | Description |
|---|---|
| com.huaweicloud.sdk.gaussdbforopengauss.v3.model |
| Modifier and Type | Method and Description |
|---|---|
Shards |
Shards.withComponentId(String componentId) |
Shards |
Shards.withNodeId(String nodeId) |
| Modifier and Type | Method and Description |
|---|---|
List<Shards> |
SwitchShardRequestBody.getShards()
节点列表,支持对单个或者多个DN分片做主备切换。节点信息为将要升主的备DN分片对应的节点id和组件id。
|
| Modifier and Type | Method and Description |
|---|---|
SwitchShardRequestBody |
SwitchShardRequestBody.addShardsItem(Shards shardsItem) |
| Modifier and Type | Method and Description |
|---|---|
void |
SwitchShardRequestBody.setShards(List<Shards> shards) |
SwitchShardRequestBody |
SwitchShardRequestBody.withShards(java.util.function.Consumer<List<Shards>> shardsSetter) |
SwitchShardRequestBody |
SwitchShardRequestBody.withShards(List<Shards> shards) |
Copyright © 2022. All rights reserved.