com.databricks.sdk.service.sql.GetWarehousePermissionsRequest Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.sql;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;
/** Get SQL warehouse permissions */
@Generated
public class GetWarehousePermissionsRequest {
/** The SQL warehouse for which to get or manage permissions. */
@JsonIgnore private String warehouseId;
public GetWarehousePermissionsRequest setWarehouseId(String warehouseId) {
this.warehouseId = warehouseId;
return this;
}
public String getWarehouseId() {
return warehouseId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GetWarehousePermissionsRequest that = (GetWarehousePermissionsRequest) o;
return Objects.equals(warehouseId, that.warehouseId);
}
@Override
public int hashCode() {
return Objects.hash(warehouseId);
}
@Override
public String toString() {
return new ToStringer(GetWarehousePermissionsRequest.class)
.add("warehouseId", warehouseId)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy