All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.jdbc.client.sqlexec.CloseStatementRequest Maven / Gradle / Ivy

There is a newer version: 2.6.40-patch-1
Show newest version
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();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy