com.databricks.sdk.service.vectorsearch.DeleteIndexRequest Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.vectorsearch;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;
/** Delete an index */
@Generated
public class DeleteIndexRequest {
/** Name of the index */
@JsonIgnore private String indexName;
public DeleteIndexRequest setIndexName(String indexName) {
this.indexName = indexName;
return this;
}
public String getIndexName() {
return indexName;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DeleteIndexRequest that = (DeleteIndexRequest) o;
return Objects.equals(indexName, that.indexName);
}
@Override
public int hashCode() {
return Objects.hash(indexName);
}
@Override
public String toString() {
return new ToStringer(DeleteIndexRequest.class).add("indexName", indexName).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy