com.databricks.sdk.service.compute.SparkNodeAwsAttributes 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 SparkNodeAwsAttributes {
/** Whether this node is on an Amazon spot instance. */
@JsonProperty("is_spot")
private Boolean isSpot;
public SparkNodeAwsAttributes setIsSpot(Boolean isSpot) {
this.isSpot = isSpot;
return this;
}
public Boolean getIsSpot() {
return isSpot;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SparkNodeAwsAttributes that = (SparkNodeAwsAttributes) o;
return Objects.equals(isSpot, that.isSpot);
}
@Override
public int hashCode() {
return Objects.hash(isSpot);
}
@Override
public String toString() {
return new ToStringer(SparkNodeAwsAttributes.class).add("isSpot", isSpot).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy