com.databricks.sdk.service.jobs.QueueSettings Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.jobs;
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 QueueSettings {
/** If true, enable queueing for the job. This is a required field. */
@JsonProperty("enabled")
private Boolean enabled;
public QueueSettings setEnabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
public Boolean getEnabled() {
return enabled;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
QueueSettings that = (QueueSettings) o;
return Objects.equals(enabled, that.enabled);
}
@Override
public int hashCode() {
return Objects.hash(enabled);
}
@Override
public String toString() {
return new ToStringer(QueueSettings.class).add("enabled", enabled).toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy