Package com.oracle.bmc.datacatalog.model
Class CreateMetastoreDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.CreateMetastoreDetails.Builder
-
- Enclosing class:
- CreateMetastoreDetails
public static class CreateMetastoreDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateMetastoreDetails
build()
CreateMetastoreDetails.Builder
compartmentId(String compartmentId)
OCID of the compartment which holds the metastore.CreateMetastoreDetails.Builder
copy(CreateMetastoreDetails model)
CreateMetastoreDetails.Builder
defaultExternalTableLocation(String defaultExternalTableLocation)
Location under which external tables will be created by default.CreateMetastoreDetails.Builder
defaultManagedTableLocation(String defaultManagedTableLocation)
Location under which managed tables will be created by default.CreateMetastoreDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.CreateMetastoreDetails.Builder
displayName(String displayName)
Mutable name of the metastore.CreateMetastoreDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
-
-
-
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
-
build
public CreateMetastoreDetails build()
-
copy
public CreateMetastoreDetails.Builder copy(CreateMetastoreDetails model)
-
-