com.databricks.sdk.service.billing.UpdateBudgetConfigurationRequest Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.billing;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
@Generated
public class UpdateBudgetConfigurationRequest {
/** The updated budget. This will overwrite the budget specified by the budget ID. */
@JsonProperty("budget")
private UpdateBudgetConfigurationBudget budget;
/** The Databricks budget configuration ID. */
@JsonIgnore private String budgetId;
public UpdateBudgetConfigurationRequest setBudget(UpdateBudgetConfigurationBudget budget) {
this.budget = budget;
return this;
}
public UpdateBudgetConfigurationBudget getBudget() {
return budget;
}
public UpdateBudgetConfigurationRequest setBudgetId(String budgetId) {
this.budgetId = budgetId;
return this;
}
public String getBudgetId() {
return budgetId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
UpdateBudgetConfigurationRequest that = (UpdateBudgetConfigurationRequest) o;
return Objects.equals(budget, that.budget) && Objects.equals(budgetId, that.budgetId);
}
@Override
public int hashCode() {
return Objects.hash(budget, budgetId);
}
@Override
public String toString() {
return new ToStringer(UpdateBudgetConfigurationRequest.class)
.add("budget", budget)
.add("budgetId", budgetId)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy