com.databricks.sdk.service.cleanrooms.CleanRoomOutputCatalog Maven / Gradle / Ivy
// 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.JsonProperty;
import java.util.Objects;
@Generated
public class CleanRoomOutputCatalog {
/**
* The name of the output catalog in UC. It should follow [UC securable naming requirements]. The
* field will always exist if status is CREATED.
*
* [UC securable naming requirements]:
* https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements
*/
@JsonProperty("catalog_name")
private String catalogName;
/** */
@JsonProperty("status")
private CleanRoomOutputCatalogOutputCatalogStatus status;
public CleanRoomOutputCatalog setCatalogName(String catalogName) {
this.catalogName = catalogName;
return this;
}
public String getCatalogName() {
return catalogName;
}
public CleanRoomOutputCatalog setStatus(CleanRoomOutputCatalogOutputCatalogStatus status) {
this.status = status;
return this;
}
public CleanRoomOutputCatalogOutputCatalogStatus getStatus() {
return status;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CleanRoomOutputCatalog that = (CleanRoomOutputCatalog) o;
return Objects.equals(catalogName, that.catalogName) && Objects.equals(status, that.status);
}
@Override
public int hashCode() {
return Objects.hash(catalogName, status);
}
@Override
public String toString() {
return new ToStringer(CleanRoomOutputCatalog.class)
.add("catalogName", catalogName)
.add("status", status)
.toString();
}
}