Class CreateMetastoreDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CreateMetastoreDetails.Builder displayName​(String displayName)
        Mutable name of the metastore.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateMetastoreDetails.Builder compartmentId​(String compartmentId)
        OCID of the compartment which holds the metastore.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • defaultManagedTableLocation

        public CreateMetastoreDetails.Builder defaultManagedTableLocation​(String defaultManagedTableLocation)
        Location under which managed tables will be created by default.

        This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/

        Parameters:
        defaultManagedTableLocation - the value to set
        Returns:
        this builder
      • defaultExternalTableLocation

        public CreateMetastoreDetails.Builder defaultExternalTableLocation​(String defaultExternalTableLocation)
        Location under which external tables will be created by default.

        This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/

        Parameters:
        defaultExternalTableLocation - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateMetastoreDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public CreateMetastoreDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Usage of predefined tag keys.

        These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder