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

com.tencentcloudapi.es.v20180416.models.MasterNodeInfo Maven / Gradle / Ivy

The 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.es.v20180416.models;

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

public class MasterNodeInfo extends AbstractModel {

    /**
    * 是否启用了专用主节点
    */
    @SerializedName("EnableDedicatedMaster")
    @Expose
    private Boolean EnableDedicatedMaster;

    /**
    * 专用主节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • */ @SerializedName("MasterNodeType") @Expose private String MasterNodeType; /** * 专用主节点个数 */ @SerializedName("MasterNodeNum") @Expose private Long MasterNodeNum; /** * 专用主节点CPU核数 */ @SerializedName("MasterNodeCpuNum") @Expose private Long MasterNodeCpuNum; /** * 专用主节点内存大小,单位GB */ @SerializedName("MasterNodeMemSize") @Expose private Long MasterNodeMemSize; /** * 专用主节点磁盘大小,单位GB */ @SerializedName("MasterNodeDiskSize") @Expose private Long MasterNodeDiskSize; /** * 专用主节点磁盘类型 */ @SerializedName("MasterNodeDiskType") @Expose private String MasterNodeDiskType; /** * Get 是否启用了专用主节点 * @return EnableDedicatedMaster 是否启用了专用主节点 */ public Boolean getEnableDedicatedMaster() { return this.EnableDedicatedMaster; } /** * Set 是否启用了专用主节点 * @param EnableDedicatedMaster 是否启用了专用主节点 */ public void setEnableDedicatedMaster(Boolean EnableDedicatedMaster) { this.EnableDedicatedMaster = EnableDedicatedMaster; } /** * Get 专用主节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • * @return MasterNodeType 专用主节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • */ public String getMasterNodeType() { return this.MasterNodeType; } /** * Set 专用主节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • * @param MasterNodeType 专用主节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • */ public void setMasterNodeType(String MasterNodeType) { this.MasterNodeType = MasterNodeType; } /** * Get 专用主节点个数 * @return MasterNodeNum 专用主节点个数 */ public Long getMasterNodeNum() { return this.MasterNodeNum; } /** * Set 专用主节点个数 * @param MasterNodeNum 专用主节点个数 */ public void setMasterNodeNum(Long MasterNodeNum) { this.MasterNodeNum = MasterNodeNum; } /** * Get 专用主节点CPU核数 * @return MasterNodeCpuNum 专用主节点CPU核数 */ public Long getMasterNodeCpuNum() { return this.MasterNodeCpuNum; } /** * Set 专用主节点CPU核数 * @param MasterNodeCpuNum 专用主节点CPU核数 */ public void setMasterNodeCpuNum(Long MasterNodeCpuNum) { this.MasterNodeCpuNum = MasterNodeCpuNum; } /** * Get 专用主节点内存大小,单位GB * @return MasterNodeMemSize 专用主节点内存大小,单位GB */ public Long getMasterNodeMemSize() { return this.MasterNodeMemSize; } /** * Set 专用主节点内存大小,单位GB * @param MasterNodeMemSize 专用主节点内存大小,单位GB */ public void setMasterNodeMemSize(Long MasterNodeMemSize) { this.MasterNodeMemSize = MasterNodeMemSize; } /** * Get 专用主节点磁盘大小,单位GB * @return MasterNodeDiskSize 专用主节点磁盘大小,单位GB */ public Long getMasterNodeDiskSize() { return this.MasterNodeDiskSize; } /** * Set 专用主节点磁盘大小,单位GB * @param MasterNodeDiskSize 专用主节点磁盘大小,单位GB */ public void setMasterNodeDiskSize(Long MasterNodeDiskSize) { this.MasterNodeDiskSize = MasterNodeDiskSize; } /** * Get 专用主节点磁盘类型 * @return MasterNodeDiskType 专用主节点磁盘类型 */ public String getMasterNodeDiskType() { return this.MasterNodeDiskType; } /** * Set 专用主节点磁盘类型 * @param MasterNodeDiskType 专用主节点磁盘类型 */ public void setMasterNodeDiskType(String MasterNodeDiskType) { this.MasterNodeDiskType = MasterNodeDiskType; } public MasterNodeInfo() { } /** * 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 MasterNodeInfo(MasterNodeInfo source) { if (source.EnableDedicatedMaster != null) { this.EnableDedicatedMaster = new Boolean(source.EnableDedicatedMaster); } if (source.MasterNodeType != null) { this.MasterNodeType = new String(source.MasterNodeType); } if (source.MasterNodeNum != null) { this.MasterNodeNum = new Long(source.MasterNodeNum); } if (source.MasterNodeCpuNum != null) { this.MasterNodeCpuNum = new Long(source.MasterNodeCpuNum); } if (source.MasterNodeMemSize != null) { this.MasterNodeMemSize = new Long(source.MasterNodeMemSize); } if (source.MasterNodeDiskSize != null) { this.MasterNodeDiskSize = new Long(source.MasterNodeDiskSize); } if (source.MasterNodeDiskType != null) { this.MasterNodeDiskType = new String(source.MasterNodeDiskType); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "EnableDedicatedMaster", this.EnableDedicatedMaster); this.setParamSimple(map, prefix + "MasterNodeType", this.MasterNodeType); this.setParamSimple(map, prefix + "MasterNodeNum", this.MasterNodeNum); this.setParamSimple(map, prefix + "MasterNodeCpuNum", this.MasterNodeCpuNum); this.setParamSimple(map, prefix + "MasterNodeMemSize", this.MasterNodeMemSize); this.setParamSimple(map, prefix + "MasterNodeDiskSize", this.MasterNodeDiskSize); this.setParamSimple(map, prefix + "MasterNodeDiskType", this.MasterNodeDiskType); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy