com.databricks.sdk.service.sharing.CreateProvider 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.JsonProperty;
import java.util.Objects;
@Generated
public class CreateProvider {
/** The delta sharing authentication type. */
@JsonProperty("authentication_type")
private AuthenticationType authenticationType;
/** Description about the provider. */
@JsonProperty("comment")
private String comment;
/** The name of the Provider. */
@JsonProperty("name")
private String name;
/** This field is required when the __authentication_type__ is **TOKEN** or not provided. */
@JsonProperty("recipient_profile_str")
private String recipientProfileStr;
public CreateProvider setAuthenticationType(AuthenticationType authenticationType) {
this.authenticationType = authenticationType;
return this;
}
public AuthenticationType getAuthenticationType() {
return authenticationType;
}
public CreateProvider setComment(String comment) {
this.comment = comment;
return this;
}
public String getComment() {
return comment;
}
public CreateProvider setName(String name) {
this.name = name;
return this;
}
public String getName() {
return name;
}
public CreateProvider setRecipientProfileStr(String recipientProfileStr) {
this.recipientProfileStr = recipientProfileStr;
return this;
}
public String getRecipientProfileStr() {
return recipientProfileStr;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CreateProvider that = (CreateProvider) o;
return Objects.equals(authenticationType, that.authenticationType)
&& Objects.equals(comment, that.comment)
&& Objects.equals(name, that.name)
&& Objects.equals(recipientProfileStr, that.recipientProfileStr);
}
@Override
public int hashCode() {
return Objects.hash(authenticationType, comment, name, recipientProfileStr);
}
@Override
public String toString() {
return new ToStringer(CreateProvider.class)
.add("authenticationType", authenticationType)
.add("comment", comment)
.add("name", name)
.add("recipientProfileStr", recipientProfileStr)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy