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

com.volcengine.escloud.model.ReduceSpecConfigForDescribeInstancesOutput Maven / Gradle / Ivy

There is a newer version: 0.1.146
Show newest version
/*
 * escloud
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: common-version
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.volcengine.escloud.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * ReduceSpecConfigForDescribeInstancesOutput
 */



public class ReduceSpecConfigForDescribeInstancesOutput {
  @SerializedName("ColdNodeNum")
  private Integer coldNodeNum = null;

  @SerializedName("DataNodeNum")
  private Integer dataNodeNum = null;

  @SerializedName("EnablePureMaster")
  private Boolean enablePureMaster = null;

  @SerializedName("MasterNodeNum")
  private Integer masterNodeNum = null;

  @SerializedName("WarmNodeNum")
  private Integer warmNodeNum = null;

  public ReduceSpecConfigForDescribeInstancesOutput coldNodeNum(Integer coldNodeNum) {
    this.coldNodeNum = coldNodeNum;
    return this;
  }

   /**
   * Get coldNodeNum
   * @return coldNodeNum
  **/
  @Schema(description = "")
  public Integer getColdNodeNum() {
    return coldNodeNum;
  }

  public void setColdNodeNum(Integer coldNodeNum) {
    this.coldNodeNum = coldNodeNum;
  }

  public ReduceSpecConfigForDescribeInstancesOutput dataNodeNum(Integer dataNodeNum) {
    this.dataNodeNum = dataNodeNum;
    return this;
  }

   /**
   * Get dataNodeNum
   * @return dataNodeNum
  **/
  @Schema(description = "")
  public Integer getDataNodeNum() {
    return dataNodeNum;
  }

  public void setDataNodeNum(Integer dataNodeNum) {
    this.dataNodeNum = dataNodeNum;
  }

  public ReduceSpecConfigForDescribeInstancesOutput enablePureMaster(Boolean enablePureMaster) {
    this.enablePureMaster = enablePureMaster;
    return this;
  }

   /**
   * Get enablePureMaster
   * @return enablePureMaster
  **/
  @Schema(description = "")
  public Boolean isEnablePureMaster() {
    return enablePureMaster;
  }

  public void setEnablePureMaster(Boolean enablePureMaster) {
    this.enablePureMaster = enablePureMaster;
  }

  public ReduceSpecConfigForDescribeInstancesOutput masterNodeNum(Integer masterNodeNum) {
    this.masterNodeNum = masterNodeNum;
    return this;
  }

   /**
   * Get masterNodeNum
   * @return masterNodeNum
  **/
  @Schema(description = "")
  public Integer getMasterNodeNum() {
    return masterNodeNum;
  }

  public void setMasterNodeNum(Integer masterNodeNum) {
    this.masterNodeNum = masterNodeNum;
  }

  public ReduceSpecConfigForDescribeInstancesOutput warmNodeNum(Integer warmNodeNum) {
    this.warmNodeNum = warmNodeNum;
    return this;
  }

   /**
   * Get warmNodeNum
   * @return warmNodeNum
  **/
  @Schema(description = "")
  public Integer getWarmNodeNum() {
    return warmNodeNum;
  }

  public void setWarmNodeNum(Integer warmNodeNum) {
    this.warmNodeNum = warmNodeNum;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ReduceSpecConfigForDescribeInstancesOutput reduceSpecConfigForDescribeInstancesOutput = (ReduceSpecConfigForDescribeInstancesOutput) o;
    return Objects.equals(this.coldNodeNum, reduceSpecConfigForDescribeInstancesOutput.coldNodeNum) &&
        Objects.equals(this.dataNodeNum, reduceSpecConfigForDescribeInstancesOutput.dataNodeNum) &&
        Objects.equals(this.enablePureMaster, reduceSpecConfigForDescribeInstancesOutput.enablePureMaster) &&
        Objects.equals(this.masterNodeNum, reduceSpecConfigForDescribeInstancesOutput.masterNodeNum) &&
        Objects.equals(this.warmNodeNum, reduceSpecConfigForDescribeInstancesOutput.warmNodeNum);
  }

  @Override
  public int hashCode() {
    return Objects.hash(coldNodeNum, dataNodeNum, enablePureMaster, masterNodeNum, warmNodeNum);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ReduceSpecConfigForDescribeInstancesOutput {\n");
    
    sb.append("    coldNodeNum: ").append(toIndentedString(coldNodeNum)).append("\n");
    sb.append("    dataNodeNum: ").append(toIndentedString(dataNodeNum)).append("\n");
    sb.append("    enablePureMaster: ").append(toIndentedString(enablePureMaster)).append("\n");
    sb.append("    masterNodeNum: ").append(toIndentedString(masterNodeNum)).append("\n");
    sb.append("    warmNodeNum: ").append(toIndentedString(warmNodeNum)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy