Class PrometheusAgentOverview

    • Constructor Detail

      • PrometheusAgentOverview

        public PrometheusAgentOverview()
      • PrometheusAgentOverview

        public 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.
    • Method Detail

      • getClusterType

        public String getClusterType()
        Get 集群类型
        Returns:
        ClusterType 集群类型
      • setClusterType

        public void setClusterType​(String ClusterType)
        Set 集群类型
        Parameters:
        ClusterType - 集群类型
      • getClusterId

        public String getClusterId()
        Get 集群id
        Returns:
        ClusterId 集群id
      • setClusterId

        public void setClusterId​(String ClusterId)
        Set 集群id
        Parameters:
        ClusterId - 集群id
      • getStatus

        public String getStatus()
        Get agent状态 normal = 正常 abnormal = 异常
        Returns:
        Status agent状态 normal = 正常 abnormal = 异常
      • setStatus

        public void setStatus​(String Status)
        Set agent状态 normal = 正常 abnormal = 异常
        Parameters:
        Status - agent状态 normal = 正常 abnormal = 异常
      • getClusterName

        public String getClusterName()
        Get 集群名称
        Returns:
        ClusterName 集群名称
      • setClusterName

        public void setClusterName​(String ClusterName)
        Set 集群名称
        Parameters:
        ClusterName - 集群名称
      • getExternalLabels

        public Label[] getExternalLabels()
        Get 额外labels 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ExternalLabels 额外labels 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。
      • setExternalLabels

        public void setExternalLabels​(Label[] ExternalLabels)
        Set 额外labels 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ExternalLabels - 额外labels 本集群的所有指标都会带上这几个label 注意:此字段可能返回 null,表示取不到有效值。
      • getRegion

        public String getRegion()
        Get 集群所在地域 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Region 集群所在地域 注意:此字段可能返回 null,表示取不到有效值。
      • setRegion

        public void setRegion​(String Region)
        Set 集群所在地域 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Region - 集群所在地域 注意:此字段可能返回 null,表示取不到有效值。
      • getVpcId

        public String getVpcId()
        Get 集群所在VPC ID 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        VpcId 集群所在VPC ID 注意:此字段可能返回 null,表示取不到有效值。
      • setVpcId

        public void setVpcId​(String VpcId)
        Set 集群所在VPC ID 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        VpcId - 集群所在VPC ID 注意:此字段可能返回 null,表示取不到有效值。
      • getFailedReason

        public String getFailedReason()
        Get 记录关联等操作的失败信息 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        FailedReason 记录关联等操作的失败信息 注意:此字段可能返回 null,表示取不到有效值。
      • setFailedReason

        public void setFailedReason​(String FailedReason)
        Set 记录关联等操作的失败信息 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        FailedReason - 记录关联等操作的失败信息 注意:此字段可能返回 null,表示取不到有效值。
      • getName

        public String getName()
        Get agent名称 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Name agent名称 注意:此字段可能返回 null,表示取不到有效值。
      • setName

        public void setName​(String Name)
        Set agent名称 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Name - agent名称 注意:此字段可能返回 null,表示取不到有效值。