com.databricks.sdk.service.catalog.GetQuotaRequest Maven / Gradle / Ivy
The newest version!
// 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.JsonIgnore;
import java.util.Objects;
/** Get information for a single resource quota. */
@Generated
public class GetQuotaRequest {
/** Full name of the parent resource. Provide the metastore ID if the parent is a metastore. */
@JsonIgnore private String parentFullName;
/** Securable type of the quota parent. */
@JsonIgnore private String parentSecurableType;
/** Name of the quota. Follows the pattern of the quota type, with "-quota" added as a suffix. */
@JsonIgnore private String quotaName;
public GetQuotaRequest setParentFullName(String parentFullName) {
this.parentFullName = parentFullName;
return this;
}
public String getParentFullName() {
return parentFullName;
}
public GetQuotaRequest setParentSecurableType(String parentSecurableType) {
this.parentSecurableType = parentSecurableType;
return this;
}
public String getParentSecurableType() {
return parentSecurableType;
}
public GetQuotaRequest setQuotaName(String quotaName) {
this.quotaName = quotaName;
return this;
}
public String getQuotaName() {
return quotaName;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GetQuotaRequest that = (GetQuotaRequest) o;
return Objects.equals(parentFullName, that.parentFullName)
&& Objects.equals(parentSecurableType, that.parentSecurableType)
&& Objects.equals(quotaName, that.quotaName);
}
@Override
public int hashCode() {
return Objects.hash(parentFullName, parentSecurableType, quotaName);
}
@Override
public String toString() {
return new ToStringer(GetQuotaRequest.class)
.add("parentFullName", parentFullName)
.add("parentSecurableType", parentSecurableType)
.add("quotaName", quotaName)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy