Package com.oracle.bmc.datacatalog.model
Class Catalog.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.Catalog.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Catalog.Builder
attachedCatalogPrivateEndpoints(List<String> attachedCatalogPrivateEndpoints)
The list of private reverse connection endpoints attached to the catalogCatalog
build()
Catalog.Builder
compartmentId(String compartmentId)
Compartment identifier.Catalog.Builder
copy(Catalog model)
Catalog.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.Catalog.Builder
displayName(String displayName)
Data catalog identifier, which can be renamed.Catalog.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.Catalog.Builder
id(String id)
OCID of the data catalog instance.Catalog.Builder
lifecycleDetails(String lifecycleDetails)
An message describing the current state in more detail.Catalog.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the data catalog resource.Catalog.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.Catalog.Builder
numberOfObjects(Integer numberOfObjects)
The number of data objects added to the data catalog.Catalog.Builder
serviceApiUrl(String serviceApiUrl)
The REST front endpoint URL to the data catalog instance.Catalog.Builder
serviceConsoleUrl(String serviceConsoleUrl)
The console front endpoint URL to the data catalog instance.Catalog.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Catalog.Builder
timeCreated(Date timeCreated)
The time the data catalog was created.Catalog.Builder
timeUpdated(Date timeUpdated)
The time the data catalog was updated.
-
-
-
Method Detail
-
id
public Catalog.Builder id(String id)
OCID of the data catalog instance.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public Catalog.Builder displayName(String displayName)
Data catalog identifier, which can be renamed.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public Catalog.Builder compartmentId(String compartmentId)
Compartment identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public Catalog.Builder timeCreated(Date timeCreated)
The time the data catalog was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Catalog.Builder timeUpdated(Date timeUpdated)
The time the data catalog was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
serviceApiUrl
public Catalog.Builder serviceApiUrl(String serviceApiUrl)
The REST front endpoint URL to the data catalog instance.- Parameters:
serviceApiUrl
- the value to set- Returns:
- this builder
-
serviceConsoleUrl
public Catalog.Builder serviceConsoleUrl(String serviceConsoleUrl)
The console front endpoint URL to the data catalog instance.- Parameters:
serviceConsoleUrl
- the value to set- Returns:
- this builder
-
numberOfObjects
public Catalog.Builder numberOfObjects(Integer numberOfObjects)
The number of data objects added to the data catalog.Please see the data catalog documentation for further information on how this is calculated.
- Parameters:
numberOfObjects
- the value to set- Returns:
- this builder
-
lifecycleState
public Catalog.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the data catalog resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Catalog.Builder lifecycleDetails(String lifecycleDetails)
An message describing the current state in more detail.For example, it can be used to provide actionable information for a resource in ‘Failed’ state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public Catalog.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 Catalog.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 Catalog.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
-
attachedCatalogPrivateEndpoints
public Catalog.Builder attachedCatalogPrivateEndpoints(List<String> attachedCatalogPrivateEndpoints)
The list of private reverse connection endpoints attached to the catalog- Parameters:
attachedCatalogPrivateEndpoints
- the value to set- Returns:
- this builder
-
locks
public Catalog.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public Catalog build()
-
copy
public Catalog.Builder copy(Catalog model)
-
-