com.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest 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 java.util.Objects;
/** Gets the named storage credential */
@Generated
public class GetAccountStorageCredentialRequest {
/** Unity Catalog metastore ID */
private String metastoreId;
/** Name of the storage credential. */
private String storageCredentialName;
public GetAccountStorageCredentialRequest setMetastoreId(String metastoreId) {
this.metastoreId = metastoreId;
return this;
}
public String getMetastoreId() {
return metastoreId;
}
public GetAccountStorageCredentialRequest setStorageCredentialName(String storageCredentialName) {
this.storageCredentialName = storageCredentialName;
return this;
}
public String getStorageCredentialName() {
return storageCredentialName;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GetAccountStorageCredentialRequest that = (GetAccountStorageCredentialRequest) o;
return Objects.equals(metastoreId, that.metastoreId)
&& Objects.equals(storageCredentialName, that.storageCredentialName);
}
@Override
public int hashCode() {
return Objects.hash(metastoreId, storageCredentialName);
}
@Override
public String toString() {
return new ToStringer(GetAccountStorageCredentialRequest.class)
.add("metastoreId", metastoreId)
.add("storageCredentialName", storageCredentialName)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy