com.databricks.sdk.service.compute.DeletePolicy Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.compute;
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 DeletePolicy {
/** The ID of the policy to delete. */
@JsonProperty("policy_id")
private String policyId;
public DeletePolicy setPolicyId(String policyId) {
this.policyId = policyId;
return this;
}
public String getPolicyId() {
return policyId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DeletePolicy that = (DeletePolicy) o;
return Objects.equals(policyId, that.policyId);
}
@Override
public int hashCode() {
return Objects.hash(policyId);
}
@Override
public String toString() {
return new ToStringer(DeletePolicy.class).add("policyId", policyId).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy