public class DescribeDBInstanceNodePropertyRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DescribeDBInstanceNodePropertyRequest() |
DescribeDBInstanceNodePropertyRequest(DescribeDBInstanceNodePropertyRequest 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 |
getInstanceId()
Get Instance ID.
|
String[] |
getNodeIds()
Get Node ID.
|
Boolean |
getOnlyHidden()
Get Whether the node is a hidden node.
|
Long |
getPriority()
Get Priority of the node for electing it as the new primary node.
|
String[] |
getRoles()
Get Node role.
|
NodeTag[] |
getTags()
Get Node tag.
|
Long |
getVotes()
Get Node voting right.- 1: The node has the right to vote.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setNodeIds(String[] NodeIds)
Set Node ID.
|
void |
setOnlyHidden(Boolean OnlyHidden)
Set Whether the node is a hidden node.
|
void |
setPriority(Long Priority)
Set Priority of the node for electing it as the new primary node.
|
void |
setRoles(String[] Roles)
Set Node role.
|
void |
setTags(NodeTag[] Tags)
Set Node tag.
|
void |
setVotes(Long Votes)
Set Node voting right.- 1: The node has the right to vote.
|
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, toJsonStringpublic DescribeDBInstanceNodePropertyRequest()
public DescribeDBInstanceNodePropertyRequest(DescribeDBInstanceNodePropertyRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance ID. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and copy the instance ID from the instance list.public String[] getNodeIds()
public void setNodeIds(String[] NodeIds)
NodeIds - Node ID. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), go to Node Management, and copy the node ID.public String[] getRoles()
public void setRoles(String[] Roles)
Roles - Node role. Valid values:
- PRIMARY: primary node.
- SECONDARY: secondary node.
- READONLY: read-only node.
- ARBITER: arbitration node.public Boolean getOnlyHidden()
public void setOnlyHidden(Boolean OnlyHidden)
OnlyHidden - Whether the node is a hidden node. Default value: false.public Long getPriority()
public void setPriority(Long Priority)
Priority - Priority of the node for electing it as the new primary node. Value range: [0, 100]. A larger value indicates a higher priority.public Long getVotes()
public void setVotes(Long Votes)
Votes - Node voting right.- 1: The node has the right to vote.
- 0: The node does not have the right to vote.public NodeTag[] getTags()
public void setTags(NodeTag[] Tags)
Tags - Node tag.Copyright © 2025. All rights reserved.