com.databricks.sdk.service.sharing.UpdateCleanRoom Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.sharing;
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.Collection;
import java.util.Objects;
@Generated
public class UpdateCleanRoom {
/** Array of shared data object updates. */
@JsonProperty("catalog_updates")
private Collection catalogUpdates;
/** User-provided free-form text description. */
@JsonProperty("comment")
private String comment;
/** The name of the clean room. */
@JsonIgnore private String name;
/** Username of current owner of clean room. */
@JsonProperty("owner")
private String owner;
public UpdateCleanRoom setCatalogUpdates(Collection catalogUpdates) {
this.catalogUpdates = catalogUpdates;
return this;
}
public Collection getCatalogUpdates() {
return catalogUpdates;
}
public UpdateCleanRoom setComment(String comment) {
this.comment = comment;
return this;
}
public String getComment() {
return comment;
}
public UpdateCleanRoom setName(String name) {
this.name = name;
return this;
}
public String getName() {
return name;
}
public UpdateCleanRoom setOwner(String owner) {
this.owner = owner;
return this;
}
public String getOwner() {
return owner;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
UpdateCleanRoom that = (UpdateCleanRoom) o;
return Objects.equals(catalogUpdates, that.catalogUpdates)
&& Objects.equals(comment, that.comment)
&& Objects.equals(name, that.name)
&& Objects.equals(owner, that.owner);
}
@Override
public int hashCode() {
return Objects.hash(catalogUpdates, comment, name, owner);
}
@Override
public String toString() {
return new ToStringer(UpdateCleanRoom.class)
.add("catalogUpdates", catalogUpdates)
.add("comment", comment)
.add("name", name)
.add("owner", owner)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy