com.databricks.sdk.service.catalog.UpdateWorkspaceBindingsParameters Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.catalog;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;
@Generated
public class UpdateWorkspaceBindingsParameters {
/** List of workspace bindings */
@JsonProperty("add")
private Collection add;
/** List of workspace bindings */
@JsonProperty("remove")
private Collection remove;
/** The name of the securable. */
private String securableName;
/** The type of the securable. */
private String securableType;
public UpdateWorkspaceBindingsParameters setAdd(Collection add) {
this.add = add;
return this;
}
public Collection getAdd() {
return add;
}
public UpdateWorkspaceBindingsParameters setRemove(Collection remove) {
this.remove = remove;
return this;
}
public Collection getRemove() {
return remove;
}
public UpdateWorkspaceBindingsParameters setSecurableName(String securableName) {
this.securableName = securableName;
return this;
}
public String getSecurableName() {
return securableName;
}
public UpdateWorkspaceBindingsParameters setSecurableType(String securableType) {
this.securableType = securableType;
return this;
}
public String getSecurableType() {
return securableType;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
UpdateWorkspaceBindingsParameters that = (UpdateWorkspaceBindingsParameters) o;
return Objects.equals(add, that.add)
&& Objects.equals(remove, that.remove)
&& Objects.equals(securableName, that.securableName)
&& Objects.equals(securableType, that.securableType);
}
@Override
public int hashCode() {
return Objects.hash(add, remove, securableName, securableType);
}
@Override
public String toString() {
return new ToStringer(UpdateWorkspaceBindingsParameters.class)
.add("add", add)
.add("remove", remove)
.add("securableName", securableName)
.add("securableType", securableType)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy