com.databricks.sdk.service.apps.AppStatus Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.apps;
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 AppStatus {
/** Message corresponding with the app state. */
@JsonProperty("message")
private String message;
/** State of the app. */
@JsonProperty("state")
private AppState state;
public AppStatus setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return message;
}
public AppStatus setState(AppState state) {
this.state = state;
return this;
}
public AppState getState() {
return state;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AppStatus that = (AppStatus) o;
return Objects.equals(message, that.message) && Objects.equals(state, that.state);
}
@Override
public int hashCode() {
return Objects.hash(message, state);
}
@Override
public String toString() {
return new ToStringer(AppStatus.class).add("message", message).add("state", state).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy