All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.tke.v20180525.models.PrometheusInstanceOverview Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.tke.v20180525.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class PrometheusInstanceOverview extends AbstractModel{

    /**
    * 实例id
    */
    @SerializedName("InstanceId")
    @Expose
    private String InstanceId;

    /**
    * 实例名称
    */
    @SerializedName("Name")
    @Expose
    private String Name;

    /**
    * 实例vpcId
    */
    @SerializedName("VpcId")
    @Expose
    private String VpcId;

    /**
    * 实例子网Id
    */
    @SerializedName("SubnetId")
    @Expose
    private String SubnetId;

    /**
    * 实例当前的状态
prepare_env = 初始化环境
install_suit = 安装组件
running = 运行中
    */
    @SerializedName("Status")
    @Expose
    private String Status;

    /**
    * COS桶存储
    */
    @SerializedName("COSBucket")
    @Expose
    private String COSBucket;

    /**
    * grafana默认地址,如果开启外网访问得为域名,否则为内网地址
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("GrafanaURL")
    @Expose
    private String GrafanaURL;

    /**
    * 关联集群总数
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("BoundTotal")
    @Expose
    private Long BoundTotal;

    /**
    * 运行正常的集群数
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("BoundNormal")
    @Expose
    private Long BoundNormal;

    /**
     * Get 实例id 
     * @return InstanceId 实例id
     */
    public String getInstanceId() {
        return this.InstanceId;
    }

    /**
     * Set 实例id
     * @param InstanceId 实例id
     */
    public void setInstanceId(String InstanceId) {
        this.InstanceId = InstanceId;
    }

    /**
     * Get 实例名称 
     * @return Name 实例名称
     */
    public String getName() {
        return this.Name;
    }

    /**
     * Set 实例名称
     * @param Name 实例名称
     */
    public void setName(String Name) {
        this.Name = Name;
    }

    /**
     * Get 实例vpcId 
     * @return VpcId 实例vpcId
     */
    public String getVpcId() {
        return this.VpcId;
    }

    /**
     * Set 实例vpcId
     * @param VpcId 实例vpcId
     */
    public void setVpcId(String VpcId) {
        this.VpcId = VpcId;
    }

    /**
     * Get 实例子网Id 
     * @return SubnetId 实例子网Id
     */
    public String getSubnetId() {
        return this.SubnetId;
    }

    /**
     * Set 实例子网Id
     * @param SubnetId 实例子网Id
     */
    public void setSubnetId(String SubnetId) {
        this.SubnetId = SubnetId;
    }

    /**
     * Get 实例当前的状态
prepare_env = 初始化环境
install_suit = 安装组件
running = 运行中 
     * @return Status 实例当前的状态
prepare_env = 初始化环境
install_suit = 安装组件
running = 运行中
     */
    public String getStatus() {
        return this.Status;
    }

    /**
     * Set 实例当前的状态
prepare_env = 初始化环境
install_suit = 安装组件
running = 运行中
     * @param Status 实例当前的状态
prepare_env = 初始化环境
install_suit = 安装组件
running = 运行中
     */
    public void setStatus(String Status) {
        this.Status = Status;
    }

    /**
     * Get COS桶存储 
     * @return COSBucket COS桶存储
     */
    public String getCOSBucket() {
        return this.COSBucket;
    }

    /**
     * Set COS桶存储
     * @param COSBucket COS桶存储
     */
    public void setCOSBucket(String COSBucket) {
        this.COSBucket = COSBucket;
    }

    /**
     * Get grafana默认地址,如果开启外网访问得为域名,否则为内网地址
注意:此字段可能返回 null,表示取不到有效值。 
     * @return GrafanaURL grafana默认地址,如果开启外网访问得为域名,否则为内网地址
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getGrafanaURL() {
        return this.GrafanaURL;
    }

    /**
     * Set grafana默认地址,如果开启外网访问得为域名,否则为内网地址
注意:此字段可能返回 null,表示取不到有效值。
     * @param GrafanaURL grafana默认地址,如果开启外网访问得为域名,否则为内网地址
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setGrafanaURL(String GrafanaURL) {
        this.GrafanaURL = GrafanaURL;
    }

    /**
     * Get 关联集群总数
注意:此字段可能返回 null,表示取不到有效值。 
     * @return BoundTotal 关联集群总数
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Long getBoundTotal() {
        return this.BoundTotal;
    }

    /**
     * Set 关联集群总数
注意:此字段可能返回 null,表示取不到有效值。
     * @param BoundTotal 关联集群总数
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setBoundTotal(Long BoundTotal) {
        this.BoundTotal = BoundTotal;
    }

    /**
     * Get 运行正常的集群数
注意:此字段可能返回 null,表示取不到有效值。 
     * @return BoundNormal 运行正常的集群数
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Long getBoundNormal() {
        return this.BoundNormal;
    }

    /**
     * Set 运行正常的集群数
注意:此字段可能返回 null,表示取不到有效值。
     * @param BoundNormal 运行正常的集群数
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setBoundNormal(Long BoundNormal) {
        this.BoundNormal = BoundNormal;
    }

    public PrometheusInstanceOverview() {
    }

    /**
     * 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.
     */
    public PrometheusInstanceOverview(PrometheusInstanceOverview source) {
        if (source.InstanceId != null) {
            this.InstanceId = new String(source.InstanceId);
        }
        if (source.Name != null) {
            this.Name = new String(source.Name);
        }
        if (source.VpcId != null) {
            this.VpcId = new String(source.VpcId);
        }
        if (source.SubnetId != null) {
            this.SubnetId = new String(source.SubnetId);
        }
        if (source.Status != null) {
            this.Status = new String(source.Status);
        }
        if (source.COSBucket != null) {
            this.COSBucket = new String(source.COSBucket);
        }
        if (source.GrafanaURL != null) {
            this.GrafanaURL = new String(source.GrafanaURL);
        }
        if (source.BoundTotal != null) {
            this.BoundTotal = new Long(source.BoundTotal);
        }
        if (source.BoundNormal != null) {
            this.BoundNormal = new Long(source.BoundNormal);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "InstanceId", this.InstanceId);
        this.setParamSimple(map, prefix + "Name", this.Name);
        this.setParamSimple(map, prefix + "VpcId", this.VpcId);
        this.setParamSimple(map, prefix + "SubnetId", this.SubnetId);
        this.setParamSimple(map, prefix + "Status", this.Status);
        this.setParamSimple(map, prefix + "COSBucket", this.COSBucket);
        this.setParamSimple(map, prefix + "GrafanaURL", this.GrafanaURL);
        this.setParamSimple(map, prefix + "BoundTotal", this.BoundTotal);
        this.setParamSimple(map, prefix + "BoundNormal", this.BoundNormal);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy