public class PrometheusAgentOverview extends AbstractModel
Constructor and Description |
---|
PrometheusAgentOverview() |
PrometheusAgentOverview(PrometheusAgentOverview 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 |
getClusterId()
Get Cluster ID
|
String |
getClusterName()
Get Cluster name
|
String |
getClusterType()
Get Cluster type
|
Label[] |
getExternalLabels()
Get External labels
External labels, which will be attached to all metrics in this cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getFailedReason()
Get Recorded information of failed operations, such as association.
|
String |
getName()
Get Agent name
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getRegion()
Get Cluster region
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getStatus()
Get Agent status.
|
String |
getVpcId()
Get ID of the VPC where the cluster resides
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setClusterName(String ClusterName)
Set Cluster name
|
void |
setClusterType(String ClusterType)
Set Cluster type
|
void |
setExternalLabels(Label[] ExternalLabels)
Set External labels
External labels, which will be attached to all metrics in this cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setFailedReason(String FailedReason)
Set Recorded information of failed operations, such as association.
|
void |
setName(String Name)
Set Agent name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRegion(String Region)
Set Cluster region
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(String Status)
Set Agent status.
|
void |
setVpcId(String VpcId)
Set ID of the VPC where the cluster resides
Note: This field may return null, indicating that no valid values can be obtained.
|
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 PrometheusAgentOverview()
public PrometheusAgentOverview(PrometheusAgentOverview source)
public String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- Cluster typepublic String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic String getStatus()
public void setStatus(String Status)
Status
- Agent status. Valid values:
`normal`
`abnormal`public String getClusterName()
public void setClusterName(String ClusterName)
ClusterName
- Cluster namepublic Label[] getExternalLabels()
public void setExternalLabels(Label[] ExternalLabels)
ExternalLabels
- External labels
External labels, which will be attached to all metrics in this cluster
Note: This field may return null, indicating that no valid values can be obtained.public String getRegion()
public void setRegion(String Region)
Region
- Cluster region
Note: This field may return null, indicating that no valid values can be obtained.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- ID of the VPC where the cluster resides
Note: This field may return null, indicating that no valid values can be obtained.public String getFailedReason()
public void setFailedReason(String FailedReason)
FailedReason
- Recorded information of failed operations, such as association.
Note: This field may return null, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name
- Agent name
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.