Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Metastore |
build() |
Metastore.Builder |
compartmentId(String compartmentId)
OCID of the compartment which holds the metastore.
|
Metastore.Builder |
copy(Metastore o) |
Metastore.Builder |
defaultExternalTableLocation(String defaultExternalTableLocation)
Location under which external tables will be created by default.
|
Metastore.Builder |
defaultManagedTableLocation(String defaultManagedTableLocation)
Location under which managed tables will be created by default.
|
Metastore.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
Metastore.Builder |
displayName(String displayName)
Mutable name of the metastore.
|
Metastore.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Metastore.Builder |
id(String id)
The metastore’s OCID.
|
Metastore.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Metastore.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the metastore.
|
Metastore.Builder |
timeCreated(Date timeCreated)
Time at which the metastore was created.
|
Metastore.Builder |
timeUpdated(Date timeUpdated)
Time at which the metastore was last modified.
|
public Metastore.Builder id(String id)
The metastore’s OCID.
id
- the value to setpublic Metastore.Builder displayName(String displayName)
Mutable name of the metastore.
displayName
- the value to setpublic Metastore.Builder compartmentId(String compartmentId)
OCID of the compartment which holds the metastore.
compartmentId
- the value to setpublic Metastore.Builder timeCreated(Date timeCreated)
Time at which the metastore was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Metastore.Builder timeUpdated(Date timeUpdated)
Time at which the metastore was last modified. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Metastore.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/
defaultManagedTableLocation
- the value to setpublic Metastore.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/
defaultExternalTableLocation
- the value to setpublic Metastore.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the metastore.
lifecycleState
- the value to setpublic Metastore.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic Metastore.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"}
freeformTags
- the value to setpublic Metastore.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"}}
definedTags
- the value to setpublic Metastore build()
public Metastore.Builder copy(Metastore o)
Copyright © 2016–2022. All rights reserved.