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

com.databricks.sdk.service.compute.ListClustersRequest Maven / Gradle / Ivy

There is a newer version: 0.38.0
Show newest version
// 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.QueryParam;
import com.databricks.sdk.support.ToStringer;
import java.util.Objects;

/** List all clusters */
@Generated
public class ListClustersRequest {
  /**
   * Filter clusters based on what type of client it can be used for. Could be either NOTEBOOKS or
   * JOBS. No input for this field will get all clusters in the workspace without filtering on its
   * supported client
   */
  @QueryParam("can_use_client")
  private String canUseClient;

  public ListClustersRequest setCanUseClient(String canUseClient) {
    this.canUseClient = canUseClient;
    return this;
  }

  public String getCanUseClient() {
    return canUseClient;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    ListClustersRequest that = (ListClustersRequest) o;
    return Objects.equals(canUseClient, that.canUseClient);
  }

  @Override
  public int hashCode() {
    return Objects.hash(canUseClient);
  }

  @Override
  public String toString() {
    return new ToStringer(ListClustersRequest.class).add("canUseClient", canUseClient).toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy