com.databricks.sdk.service.compute.ListInstancePools 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 ListInstancePools {
/** */
@JsonProperty("instance_pools")
private Collection instancePools;
public ListInstancePools setInstancePools(Collection instancePools) {
this.instancePools = instancePools;
return this;
}
public Collection getInstancePools() {
return instancePools;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ListInstancePools that = (ListInstancePools) o;
return Objects.equals(instancePools, that.instancePools);
}
@Override
public int hashCode() {
return Objects.hash(instancePools);
}
@Override
public String toString() {
return new ToStringer(ListInstancePools.class).add("instancePools", instancePools).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy