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

com.tencentcloudapi.cvm.v20170312.models.HostResource Maven / Gradle / Ivy

There is a newer version: 3.1.1101
Show newest version
/*
 * 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.cvm.v20170312.models;

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

public class HostResource extends AbstractModel{

    /**
    * cdh实例总cpu核数
    */
    @SerializedName("CpuTotal")
    @Expose
    private Long CpuTotal;

    /**
    * cdh实例可用cpu核数
    */
    @SerializedName("CpuAvailable")
    @Expose
    private Long CpuAvailable;

    /**
    * cdh实例总内存大小(单位为:GiB)
    */
    @SerializedName("MemTotal")
    @Expose
    private Float MemTotal;

    /**
    * cdh实例可用内存大小(单位为:GiB)
    */
    @SerializedName("MemAvailable")
    @Expose
    private Float MemAvailable;

    /**
    * cdh实例总磁盘大小(单位为:GiB)
    */
    @SerializedName("DiskTotal")
    @Expose
    private Long DiskTotal;

    /**
    * cdh实例可用磁盘大小(单位为:GiB)
    */
    @SerializedName("DiskAvailable")
    @Expose
    private Long DiskAvailable;

    /**
    * cdh实例磁盘类型
    */
    @SerializedName("DiskType")
    @Expose
    private String DiskType;

    /**
     * Get cdh实例总cpu核数 
     * @return CpuTotal cdh实例总cpu核数
     */
    public Long getCpuTotal() {
        return this.CpuTotal;
    }

    /**
     * Set cdh实例总cpu核数
     * @param CpuTotal cdh实例总cpu核数
     */
    public void setCpuTotal(Long CpuTotal) {
        this.CpuTotal = CpuTotal;
    }

    /**
     * Get cdh实例可用cpu核数 
     * @return CpuAvailable cdh实例可用cpu核数
     */
    public Long getCpuAvailable() {
        return this.CpuAvailable;
    }

    /**
     * Set cdh实例可用cpu核数
     * @param CpuAvailable cdh实例可用cpu核数
     */
    public void setCpuAvailable(Long CpuAvailable) {
        this.CpuAvailable = CpuAvailable;
    }

    /**
     * Get cdh实例总内存大小(单位为:GiB) 
     * @return MemTotal cdh实例总内存大小(单位为:GiB)
     */
    public Float getMemTotal() {
        return this.MemTotal;
    }

    /**
     * Set cdh实例总内存大小(单位为:GiB)
     * @param MemTotal cdh实例总内存大小(单位为:GiB)
     */
    public void setMemTotal(Float MemTotal) {
        this.MemTotal = MemTotal;
    }

    /**
     * Get cdh实例可用内存大小(单位为:GiB) 
     * @return MemAvailable cdh实例可用内存大小(单位为:GiB)
     */
    public Float getMemAvailable() {
        return this.MemAvailable;
    }

    /**
     * Set cdh实例可用内存大小(单位为:GiB)
     * @param MemAvailable cdh实例可用内存大小(单位为:GiB)
     */
    public void setMemAvailable(Float MemAvailable) {
        this.MemAvailable = MemAvailable;
    }

    /**
     * Get cdh实例总磁盘大小(单位为:GiB) 
     * @return DiskTotal cdh实例总磁盘大小(单位为:GiB)
     */
    public Long getDiskTotal() {
        return this.DiskTotal;
    }

    /**
     * Set cdh实例总磁盘大小(单位为:GiB)
     * @param DiskTotal cdh实例总磁盘大小(单位为:GiB)
     */
    public void setDiskTotal(Long DiskTotal) {
        this.DiskTotal = DiskTotal;
    }

    /**
     * Get cdh实例可用磁盘大小(单位为:GiB) 
     * @return DiskAvailable cdh实例可用磁盘大小(单位为:GiB)
     */
    public Long getDiskAvailable() {
        return this.DiskAvailable;
    }

    /**
     * Set cdh实例可用磁盘大小(单位为:GiB)
     * @param DiskAvailable cdh实例可用磁盘大小(单位为:GiB)
     */
    public void setDiskAvailable(Long DiskAvailable) {
        this.DiskAvailable = DiskAvailable;
    }

    /**
     * Get cdh实例磁盘类型 
     * @return DiskType cdh实例磁盘类型
     */
    public String getDiskType() {
        return this.DiskType;
    }

    /**
     * Set cdh实例磁盘类型
     * @param DiskType cdh实例磁盘类型
     */
    public void setDiskType(String DiskType) {
        this.DiskType = DiskType;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "CpuTotal", this.CpuTotal);
        this.setParamSimple(map, prefix + "CpuAvailable", this.CpuAvailable);
        this.setParamSimple(map, prefix + "MemTotal", this.MemTotal);
        this.setParamSimple(map, prefix + "MemAvailable", this.MemAvailable);
        this.setParamSimple(map, prefix + "DiskTotal", this.DiskTotal);
        this.setParamSimple(map, prefix + "DiskAvailable", this.DiskAvailable);
        this.setParamSimple(map, prefix + "DiskType", this.DiskType);

    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy