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 model) |
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 |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
Metastore.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
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 systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- 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.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic Metastore build()
public Metastore.Builder copy(Metastore model)
Copyright © 2016–2024. All rights reserved.