com.volcengine.escloud.model.ReduceSpecConfigForDescribeInstanceOutput Maven / Gradle / Ivy
/*
* 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;
/**
* ReduceSpecConfigForDescribeInstanceOutput
*/
public class ReduceSpecConfigForDescribeInstanceOutput {
@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 ReduceSpecConfigForDescribeInstanceOutput 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 ReduceSpecConfigForDescribeInstanceOutput 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 ReduceSpecConfigForDescribeInstanceOutput 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 ReduceSpecConfigForDescribeInstanceOutput 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 ReduceSpecConfigForDescribeInstanceOutput 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;
}
ReduceSpecConfigForDescribeInstanceOutput reduceSpecConfigForDescribeInstanceOutput = (ReduceSpecConfigForDescribeInstanceOutput) o;
return Objects.equals(this.coldNodeNum, reduceSpecConfigForDescribeInstanceOutput.coldNodeNum) &&
Objects.equals(this.dataNodeNum, reduceSpecConfigForDescribeInstanceOutput.dataNodeNum) &&
Objects.equals(this.enablePureMaster, reduceSpecConfigForDescribeInstanceOutput.enablePureMaster) &&
Objects.equals(this.masterNodeNum, reduceSpecConfigForDescribeInstanceOutput.masterNodeNum) &&
Objects.equals(this.warmNodeNum, reduceSpecConfigForDescribeInstanceOutput.warmNodeNum);
}
@Override
public int hashCode() {
return Objects.hash(coldNodeNum, dataNodeNum, enablePureMaster, masterNodeNum, warmNodeNum);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ReduceSpecConfigForDescribeInstanceOutput {\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