Package com.oracle.bmc.datacatalog.model
Class MetastoreSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.MetastoreSummary.Builder
-
- Enclosing class:
- MetastoreSummary
public static class MetastoreSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetastoreSummary
build()
MetastoreSummary.Builder
compartmentId(String compartmentId)
OCID of the compartment which holds the metastore.MetastoreSummary.Builder
copy(MetastoreSummary model)
MetastoreSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.MetastoreSummary.Builder
displayName(String displayName)
Mutable name of the metastore.MetastoreSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.MetastoreSummary.Builder
id(String id)
The metastore’s OCID.MetastoreSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.MetastoreSummary.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the metastore.MetastoreSummary.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.MetastoreSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.MetastoreSummary.Builder
timeCreated(Date timeCreated)
Time at which the metastore was created.MetastoreSummary.Builder
timeUpdated(Date timeUpdated)
Time at which the metastore was last modified.
-
-
-
Method Detail
-
id
public MetastoreSummary.Builder id(String id)
The metastore’s OCID.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public MetastoreSummary.Builder displayName(String displayName)
Mutable name of the metastore.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public MetastoreSummary.Builder compartmentId(String compartmentId)
OCID of the compartment which holds the metastore.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public MetastoreSummary.Builder timeCreated(Date timeCreated)
Time at which the metastore was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public MetastoreSummary.Builder timeUpdated(Date timeUpdated)
Time at which the metastore was last modified.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public MetastoreSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the metastore.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MetastoreSummary.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.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public MetastoreSummary.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
-
systemTags
public MetastoreSummary.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"}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
definedTags
public MetastoreSummary.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
-
locks
public MetastoreSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public MetastoreSummary build()
-
copy
public MetastoreSummary.Builder copy(MetastoreSummary model)
-
-