Class CreateEntityDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.CreateEntityDetails.Builder
-
- Enclosing class:
- CreateEntityDetails
public static class CreateEntityDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEntityDetails
build()
CreateEntityDetails.Builder
businessName(String businessName)
Optional user friendly business name of the data entity.CreateEntityDetails.Builder
copy(CreateEntityDetails model)
CreateEntityDetails.Builder
customPropertyMembers(List<CustomPropertySetUsage> customPropertyMembers)
The list of customized properties along with the values for this objectCreateEntityDetails.Builder
description(String description)
Detailed description of a data entity.CreateEntityDetails.Builder
displayName(String displayName)
A user-friendly display name.CreateEntityDetails.Builder
folderKey(String folderKey)
Key of the associated folder.CreateEntityDetails.Builder
harvestStatus(HarvestStatus harvestStatus)
Status of the object as updated by the harvest process.CreateEntityDetails.Builder
isLogical(Boolean isLogical)
Property to indicate if the object is a physical materialized object or virtual.CreateEntityDetails.Builder
isPartition(Boolean isPartition)
Property to indicate if the object is a sub object of a parent physical object.CreateEntityDetails.Builder
lastJobKey(String lastJobKey)
Key of the last harvest process to update this object.CreateEntityDetails.Builder
patternKey(String patternKey)
Key of the associated pattern if this is a logical entity.CreateEntityDetails.Builder
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the entity type.CreateEntityDetails.Builder
realizedExpression(String realizedExpression)
The expression realized after resolving qualifiers .CreateEntityDetails.Builder
timeExternal(Date timeExternal)
Last modified timestamp of the object in the external system.CreateEntityDetails.Builder
typeKey(String typeKey)
The type of data entity object.
-
-
-
Method Detail
-
displayName
public CreateEntityDetails.Builder displayName(String displayName)
A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
businessName
public CreateEntityDetails.Builder businessName(String businessName)
Optional user friendly business name of the data entity.If set, this supplements the harvested display name of the object.
- Parameters:
businessName
- the value to set- Returns:
- this builder
-
typeKey
public CreateEntityDetails.Builder typeKey(String typeKey)
The type of data entity object.Type key’s can be found via the ‘/types’ endpoint.
- Parameters:
typeKey
- the value to set- Returns:
- this builder
-
description
public CreateEntityDetails.Builder description(String description)
Detailed description of a data entity.- Parameters:
description
- the value to set- Returns:
- this builder
-
timeExternal
public CreateEntityDetails.Builder timeExternal(Date timeExternal)
Last modified timestamp of the object in the external system.- Parameters:
timeExternal
- the value to set- Returns:
- this builder
-
isLogical
public CreateEntityDetails.Builder isLogical(Boolean isLogical)
Property to indicate if the object is a physical materialized object or virtual.For example, View.
- Parameters:
isLogical
- the value to set- Returns:
- this builder
-
isPartition
public CreateEntityDetails.Builder isPartition(Boolean isPartition)
Property to indicate if the object is a sub object of a parent physical object.- Parameters:
isPartition
- the value to set- Returns:
- this builder
-
folderKey
public CreateEntityDetails.Builder folderKey(String folderKey)
Key of the associated folder.- Parameters:
folderKey
- the value to set- Returns:
- this builder
-
patternKey
public CreateEntityDetails.Builder patternKey(String patternKey)
Key of the associated pattern if this is a logical entity.- Parameters:
patternKey
- the value to set- Returns:
- this builder
-
realizedExpression
public CreateEntityDetails.Builder realizedExpression(String realizedExpression)
The expression realized after resolving qualifiers .Used in deriving this logical entity
- Parameters:
realizedExpression
- the value to set- Returns:
- this builder
-
harvestStatus
public CreateEntityDetails.Builder harvestStatus(HarvestStatus harvestStatus)
Status of the object as updated by the harvest process.When an entity object is created , it’s harvest status will indicate if the entity’s metadata has been fully harvested or not. The harvest process can perform shallow harvesting to allow users to browse the metadata and can on-demand deep harvest on any object This requires a harvest status indicator for catalog objects.
- Parameters:
harvestStatus
- the value to set- Returns:
- this builder
-
lastJobKey
public CreateEntityDetails.Builder lastJobKey(String lastJobKey)
Key of the last harvest process to update this object.- Parameters:
lastJobKey
- the value to set- Returns:
- this builder
-
customPropertyMembers
public CreateEntityDetails.Builder customPropertyMembers(List<CustomPropertySetUsage> customPropertyMembers)
The list of customized properties along with the values for this object- Parameters:
customPropertyMembers
- the value to set- Returns:
- this builder
-
properties
public CreateEntityDetails.Builder properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the entity type.Each entity type definition defines it’s set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most entities have required properties within the “default” category. To determine the set of required and optional properties for an entity type, a query can be done on ‘/types?type=dataEntity’ that returns a collection of all entity types. The appropriate entity type, which includes definitions of all of it’s properties, can be identified from this collection. Example: {“properties”: { “default”: { “key1”: “value1”}}}
- Parameters:
properties
- the value to set- Returns:
- this builder
-
build
public CreateEntityDetails build()
-
copy
public CreateEntityDetails.Builder copy(CreateEntityDetails model)
-
-