/*
 * Cloudera Manager API
 * <h1>Cloudera Manager API v57</h1>       <p>Introduced in Cloudera Manager 7.13.1</p>       <p><a href=\"http://www.cloudera.com/documentation.html\">Cloudera Product Documentation</a></p>
 *
 * OpenAPI spec version: 7.13.1
 * 
 *
 * 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.cloudera.api.swagger.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;
/**
 * IcebergReplicationYarnOptions
 */

@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2026-05-19T08:29:59.033Z[Etc/UTC]")

public class IcebergReplicationYarnOptions {
  @SerializedName("schedulerPoolName")
  private String schedulerPoolName = null;

  @SerializedName("numberOfMappers")
  private java.math.BigDecimal numberOfMappers = null;

  @SerializedName("bandwidthPerMap")
  private java.math.BigDecimal bandwidthPerMap = null;

  public IcebergReplicationYarnOptions schedulerPoolName(String schedulerPoolName) {
    this.schedulerPoolName = schedulerPoolName;
    return this;
  }

   /**
   * Get schedulerPoolName
   * @return schedulerPoolName
  **/
  @Schema(description = "")
  public String getSchedulerPoolName() {
    return schedulerPoolName;
  }

  public void setSchedulerPoolName(String schedulerPoolName) {
    this.schedulerPoolName = schedulerPoolName;
  }

  public IcebergReplicationYarnOptions numberOfMappers(java.math.BigDecimal numberOfMappers) {
    this.numberOfMappers = numberOfMappers;
    return this;
  }

   /**
   * Get numberOfMappers
   * @return numberOfMappers
  **/
  @Schema(description = "")
  public java.math.BigDecimal getNumberOfMappers() {
    return numberOfMappers;
  }

  public void setNumberOfMappers(java.math.BigDecimal numberOfMappers) {
    this.numberOfMappers = numberOfMappers;
  }

  public IcebergReplicationYarnOptions bandwidthPerMap(java.math.BigDecimal bandwidthPerMap) {
    this.bandwidthPerMap = bandwidthPerMap;
    return this;
  }

   /**
   * Get bandwidthPerMap
   * @return bandwidthPerMap
  **/
  @Schema(description = "")
  public java.math.BigDecimal getBandwidthPerMap() {
    return bandwidthPerMap;
  }

  public void setBandwidthPerMap(java.math.BigDecimal bandwidthPerMap) {
    this.bandwidthPerMap = bandwidthPerMap;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    IcebergReplicationYarnOptions icebergReplicationYarnOptions = (IcebergReplicationYarnOptions) o;
    return Objects.equals(this.schedulerPoolName, icebergReplicationYarnOptions.schedulerPoolName) &&
        Objects.equals(this.numberOfMappers, icebergReplicationYarnOptions.numberOfMappers) &&
        Objects.equals(this.bandwidthPerMap, icebergReplicationYarnOptions.bandwidthPerMap);
  }

  @Override
  public int hashCode() {
    return Objects.hash(schedulerPoolName, numberOfMappers, bandwidthPerMap);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class IcebergReplicationYarnOptions {\n");
    
    sb.append("    schedulerPoolName: ").append(toIndentedString(schedulerPoolName)).append("\n");
    sb.append("    numberOfMappers: ").append(toIndentedString(numberOfMappers)).append("\n");
    sb.append("    bandwidthPerMap: ").append(toIndentedString(bandwidthPerMap)).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    ");
  }

}
