public class ClusterStatus extends AbstractModel
Constructor and Description |
---|
ClusterStatus() |
ClusterStatus(ClusterStatus 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 |
---|---|
Boolean |
getClusterAuditEnabled()
Get Indicates whether the cluster is auditable
Note: this field may return `null`, indicating that no valid value can be found.
|
Boolean |
getClusterBMonitor()
Get Indicates whether the monitoring service is enabled for the cluster
|
Long |
getClusterClosedNodeNum()
Get Number of shutdown nodes in the cluster.
|
Long |
getClusterClosingNodeNum()
Get Number of nodes being shut down in the cluster.
|
Boolean |
getClusterDeletionProtection()
Get Indicates whether to enable cluster deletion protection
Note: this field may return `null`, indicating that no valid value can be found.
|
Long |
getClusterFailedNodeNum()
Get Number of abnormal nodes in the cluster.
|
String |
getClusterId()
Get Cluster ID
|
Long |
getClusterInitNodeNum()
Get Number of cluster nodes being created.
|
String |
getClusterInstanceState()
Get Status of nodes in the cluster
|
Long |
getClusterRunningNodeNum()
Get Number of running nodes in the cluster.
|
String |
getClusterState()
Get Cluster status
|
void |
setClusterAuditEnabled(Boolean ClusterAuditEnabled)
Set Indicates whether the cluster is auditable
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setClusterBMonitor(Boolean ClusterBMonitor)
Set Indicates whether the monitoring service is enabled for the cluster
|
void |
setClusterClosedNodeNum(Long ClusterClosedNodeNum)
Set Number of shutdown nodes in the cluster.
|
void |
setClusterClosingNodeNum(Long ClusterClosingNodeNum)
Set Number of nodes being shut down in the cluster.
|
void |
setClusterDeletionProtection(Boolean ClusterDeletionProtection)
Set Indicates whether to enable cluster deletion protection
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setClusterFailedNodeNum(Long ClusterFailedNodeNum)
Set Number of abnormal nodes in the cluster.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setClusterInitNodeNum(Long ClusterInitNodeNum)
Set Number of cluster nodes being created.
|
void |
setClusterInstanceState(String ClusterInstanceState)
Set Status of nodes in the cluster
|
void |
setClusterRunningNodeNum(Long ClusterRunningNodeNum)
Set Number of running nodes in the cluster.
|
void |
setClusterState(String ClusterState)
Set Cluster status
|
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 ClusterStatus()
public ClusterStatus(ClusterStatus source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic String getClusterState()
public void setClusterState(String ClusterState)
ClusterState
- Cluster statuspublic String getClusterInstanceState()
public void setClusterInstanceState(String ClusterInstanceState)
ClusterInstanceState
- Status of nodes in the clusterpublic Boolean getClusterBMonitor()
public void setClusterBMonitor(Boolean ClusterBMonitor)
ClusterBMonitor
- Indicates whether the monitoring service is enabled for the clusterpublic Long getClusterInitNodeNum()
public void setClusterInitNodeNum(Long ClusterInitNodeNum)
ClusterInitNodeNum
- Number of cluster nodes being created. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.public Long getClusterRunningNodeNum()
public void setClusterRunningNodeNum(Long ClusterRunningNodeNum)
ClusterRunningNodeNum
- Number of running nodes in the cluster. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.public Long getClusterFailedNodeNum()
public void setClusterFailedNodeNum(Long ClusterFailedNodeNum)
ClusterFailedNodeNum
- Number of abnormal nodes in the cluster. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.public Long getClusterClosedNodeNum()
public void setClusterClosedNodeNum(Long ClusterClosedNodeNum)
ClusterClosedNodeNum
- Number of shutdown nodes in the cluster. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.
Note: this field may return `null`, indicating that no valid value can be found.public Long getClusterClosingNodeNum()
public void setClusterClosingNodeNum(Long ClusterClosingNodeNum)
ClusterClosingNodeNum
- Number of nodes being shut down in the cluster. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.
Note: this field may return `null`, indicating that no valid value can be found.public Boolean getClusterDeletionProtection()
public void setClusterDeletionProtection(Boolean ClusterDeletionProtection)
ClusterDeletionProtection
- Indicates whether to enable cluster deletion protection
Note: this field may return `null`, indicating that no valid value can be found.public Boolean getClusterAuditEnabled()
public void setClusterAuditEnabled(Boolean ClusterAuditEnabled)
ClusterAuditEnabled
- Indicates whether the cluster is auditable
Note: this field may return `null`, indicating that no valid value can be found.Copyright © 2023. All rights reserved.