com.databricks.sdk.service.compute.InstancePoolStatus 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.Collection;
import java.util.Objects;
@Generated
public class InstancePoolStatus {
/**
* List of error messages for the failed pending instances. The pending_instance_errors follows
* FIFO with maximum length of the min_idle of the pool. The pending_instance_errors is emptied
* once the number of exiting available instances reaches the min_idle of the pool.
*/
@JsonProperty("pending_instance_errors")
private Collection pendingInstanceErrors;
public InstancePoolStatus setPendingInstanceErrors(
Collection pendingInstanceErrors) {
this.pendingInstanceErrors = pendingInstanceErrors;
return this;
}
public Collection getPendingInstanceErrors() {
return pendingInstanceErrors;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
InstancePoolStatus that = (InstancePoolStatus) o;
return Objects.equals(pendingInstanceErrors, that.pendingInstanceErrors);
}
@Override
public int hashCode() {
return Objects.hash(pendingInstanceErrors);
}
@Override
public String toString() {
return new ToStringer(InstancePoolStatus.class)
.add("pendingInstanceErrors", pendingInstanceErrors)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy