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

com.databricks.sdk.service.serving.AiGatewayInferenceTableConfig Maven / Gradle / Ivy

The newest version!
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.serving;

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 AiGatewayInferenceTableConfig {
  /**
   * The name of the catalog in Unity Catalog. Required when enabling inference tables. NOTE: On
   * update, you have to disable inference table first in order to change the catalog name.
   */
  @JsonProperty("catalog_name")
  private String catalogName;

  /** Indicates whether the inference table is enabled. */
  @JsonProperty("enabled")
  private Boolean enabled;

  /**
   * The name of the schema in Unity Catalog. Required when enabling inference tables. NOTE: On
   * update, you have to disable inference table first in order to change the schema name.
   */
  @JsonProperty("schema_name")
  private String schemaName;

  /**
   * The prefix of the table in Unity Catalog. NOTE: On update, you have to disable inference table
   * first in order to change the prefix name.
   */
  @JsonProperty("table_name_prefix")
  private String tableNamePrefix;

  public AiGatewayInferenceTableConfig setCatalogName(String catalogName) {
    this.catalogName = catalogName;
    return this;
  }

  public String getCatalogName() {
    return catalogName;
  }

  public AiGatewayInferenceTableConfig setEnabled(Boolean enabled) {
    this.enabled = enabled;
    return this;
  }

  public Boolean getEnabled() {
    return enabled;
  }

  public AiGatewayInferenceTableConfig setSchemaName(String schemaName) {
    this.schemaName = schemaName;
    return this;
  }

  public String getSchemaName() {
    return schemaName;
  }

  public AiGatewayInferenceTableConfig setTableNamePrefix(String tableNamePrefix) {
    this.tableNamePrefix = tableNamePrefix;
    return this;
  }

  public String getTableNamePrefix() {
    return tableNamePrefix;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    AiGatewayInferenceTableConfig that = (AiGatewayInferenceTableConfig) o;
    return Objects.equals(catalogName, that.catalogName)
        && Objects.equals(enabled, that.enabled)
        && Objects.equals(schemaName, that.schemaName)
        && Objects.equals(tableNamePrefix, that.tableNamePrefix);
  }

  @Override
  public int hashCode() {
    return Objects.hash(catalogName, enabled, schemaName, tableNamePrefix);
  }

  @Override
  public String toString() {
    return new ToStringer(AiGatewayInferenceTableConfig.class)
        .add("catalogName", catalogName)
        .add("enabled", enabled)
        .add("schemaName", schemaName)
        .add("tableNamePrefix", tableNamePrefix)
        .toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy