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

com.databricks.sdk.service.cleanrooms.CreateCleanRoomAssetRequest Maven / Gradle / Ivy

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

package com.databricks.sdk.service.cleanrooms;

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

/** Create an asset */
@Generated
public class CreateCleanRoomAssetRequest {
  /** Metadata of the clean room asset */
  @JsonProperty("asset")
  private CleanRoomAsset asset;

  /** Name of the clean room. */
  @JsonIgnore private String cleanRoomName;

  public CreateCleanRoomAssetRequest setAsset(CleanRoomAsset asset) {
    this.asset = asset;
    return this;
  }

  public CleanRoomAsset getAsset() {
    return asset;
  }

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

  public String getCleanRoomName() {
    return cleanRoomName;
  }

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

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

  @Override
  public String toString() {
    return new ToStringer(CreateCleanRoomAssetRequest.class)
        .add("asset", asset)
        .add("cleanRoomName", cleanRoomName)
        .toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy