com.databricks.jdbc.client.sqlexec.CloseStatementRequest Maven / Gradle / Ivy
package com.databricks.jdbc.client.sqlexec;
import com.databricks.sdk.support.ToStringer;
import java.util.Objects;
public class CloseStatementRequest {
private String statementId;
public CloseStatementRequest() {}
public CloseStatementRequest setStatementId(String statementId) {
this.statementId = statementId;
return this;
}
public String getStatementId() {
return this.statementId;
}
public boolean equals(Object o) {
if (this == o) {
return true;
} else if (o != null && this.getClass() == o.getClass()) {
CloseStatementRequest that = (CloseStatementRequest) o;
return Objects.equals(this.statementId, that.statementId);
} else {
return false;
}
}
public int hashCode() {
return Objects.hash(new Object[] {this.statementId});
}
public String toString() {
return (new ToStringer(CloseStatementRequest.class))
.add("statementId", this.statementId)
.toString();
}
}