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

com.databricks.sdk.service.jobs.CleanRoomsNotebookTask Maven / Gradle / Ivy

The newest version!
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.jobs;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
import java.util.Objects;

@Generated
public class CleanRoomsNotebookTask {
  /** The clean room that the notebook belongs to. */
  @JsonProperty("clean_room_name")
  private String cleanRoomName;

  /**
   * Checksum to validate the freshness of the notebook resource (i.e. the notebook being run is the
   * latest version). It can be fetched by calling the :method:cleanroomassets/get API.
   */
  @JsonProperty("etag")
  private String etag;

  /** Base parameters to be used for the clean room notebook job. */
  @JsonProperty("notebook_base_parameters")
  private Map notebookBaseParameters;

  /** Name of the notebook being run. */
  @JsonProperty("notebook_name")
  private String notebookName;

  public CleanRoomsNotebookTask setCleanRoomName(String cleanRoomName) {
    this.cleanRoomName = cleanRoomName;
    return this;
  }

  public String getCleanRoomName() {
    return cleanRoomName;
  }

  public CleanRoomsNotebookTask setEtag(String etag) {
    this.etag = etag;
    return this;
  }

  public String getEtag() {
    return etag;
  }

  public CleanRoomsNotebookTask setNotebookBaseParameters(
      Map notebookBaseParameters) {
    this.notebookBaseParameters = notebookBaseParameters;
    return this;
  }

  public Map getNotebookBaseParameters() {
    return notebookBaseParameters;
  }

  public CleanRoomsNotebookTask setNotebookName(String notebookName) {
    this.notebookName = notebookName;
    return this;
  }

  public String getNotebookName() {
    return notebookName;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    CleanRoomsNotebookTask that = (CleanRoomsNotebookTask) o;
    return Objects.equals(cleanRoomName, that.cleanRoomName)
        && Objects.equals(etag, that.etag)
        && Objects.equals(notebookBaseParameters, that.notebookBaseParameters)
        && Objects.equals(notebookName, that.notebookName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(cleanRoomName, etag, notebookBaseParameters, notebookName);
  }

  @Override
  public String toString() {
    return new ToStringer(CleanRoomsNotebookTask.class)
        .add("cleanRoomName", cleanRoomName)
        .add("etag", etag)
        .add("notebookBaseParameters", notebookBaseParameters)
        .add("notebookName", notebookName)
        .toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy