com.databricks.sdk.service.oauth2.DeleteServicePrincipalSecretRequest Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.oauth2;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import java.util.Objects;
/** Delete service principal secret */
@Generated
public class DeleteServicePrincipalSecretRequest {
/** The secret ID. */
private String secretId;
/** The service principal ID. */
private Long servicePrincipalId;
public DeleteServicePrincipalSecretRequest setSecretId(String secretId) {
this.secretId = secretId;
return this;
}
public String getSecretId() {
return secretId;
}
public DeleteServicePrincipalSecretRequest setServicePrincipalId(Long servicePrincipalId) {
this.servicePrincipalId = servicePrincipalId;
return this;
}
public Long getServicePrincipalId() {
return servicePrincipalId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DeleteServicePrincipalSecretRequest that = (DeleteServicePrincipalSecretRequest) o;
return Objects.equals(secretId, that.secretId)
&& Objects.equals(servicePrincipalId, that.servicePrincipalId);
}
@Override
public int hashCode() {
return Objects.hash(secretId, servicePrincipalId);
}
@Override
public String toString() {
return new ToStringer(DeleteServicePrincipalSecretRequest.class)
.add("secretId", secretId)
.add("servicePrincipalId", servicePrincipalId)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy