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

com.databricks.sdk.service.settings.UpdateDefaultWorkspaceNamespaceRequest Maven / Gradle / Ivy

// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.settings;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;

/** Update the default namespace setting */
@Generated
public class UpdateDefaultWorkspaceNamespaceRequest {
  /** This should always be set to true for Settings API. Added for AIP compliance. */
  @JsonProperty("allow_missing")
  private Boolean allowMissing;

  /**
   * Field mask is required to be passed into the PATCH request. Field mask specifies which fields
   * of the setting payload will be updated. For example, for Default Namespace setting, the field
   * mask is supposed to contain fields from the DefaultNamespaceSetting.namespace schema.
   *
   * 

The field mask needs to be supplied as single string. To specify multiple fields in the * field mask, use comma as the seperator (no space). */ @JsonProperty("field_mask") private String fieldMask; /** * This represents the setting configuration for the default namespace in the Databricks * workspace. Setting the default catalog for the workspace determines the catalog that is used * when queries do not reference a fully qualified 3 level name. For example, if the default * catalog is set to 'retail_prod' then a query 'SELECT * FROM myTable' would reference the object * 'retail_prod.default.myTable' (the schema 'default' is always assumed). This setting requires a * restart of clusters and SQL warehouses to take effect. Additionally, the default namespace only * applies when using Unity Catalog-enabled compute. */ @JsonProperty("setting") private DefaultNamespaceSetting setting; public UpdateDefaultWorkspaceNamespaceRequest setAllowMissing(Boolean allowMissing) { this.allowMissing = allowMissing; return this; } public Boolean getAllowMissing() { return allowMissing; } public UpdateDefaultWorkspaceNamespaceRequest setFieldMask(String fieldMask) { this.fieldMask = fieldMask; return this; } public String getFieldMask() { return fieldMask; } public UpdateDefaultWorkspaceNamespaceRequest setSetting(DefaultNamespaceSetting setting) { this.setting = setting; return this; } public DefaultNamespaceSetting getSetting() { return setting; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; UpdateDefaultWorkspaceNamespaceRequest that = (UpdateDefaultWorkspaceNamespaceRequest) o; return Objects.equals(allowMissing, that.allowMissing) && Objects.equals(fieldMask, that.fieldMask) && Objects.equals(setting, that.setting); } @Override public int hashCode() { return Objects.hash(allowMissing, fieldMask, setting); } @Override public String toString() { return new ToStringer(UpdateDefaultWorkspaceNamespaceRequest.class) .add("allowMissing", allowMissing) .add("fieldMask", fieldMask) .add("setting", setting) .toString(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy