public static class SearchResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SearchResult.Builder |
attributeType(String attributeType)
Type name of the attribute.
|
SearchResult |
build() |
SearchResult.Builder |
businessName(String businessName)
Optional user friendly business name of the data object.
|
SearchResult.Builder |
copy(SearchResult model) |
SearchResult.Builder |
createdById(String createdById)
OCID of the user who created the resource.
|
SearchResult.Builder |
customProperties(List<FacetedSearchCustomProperty> customProperties)
Custom properties defined by users.
|
SearchResult.Builder |
dataAssetKey(String dataAssetKey)
Unique key of the data asset that is the root parent of this object.
|
SearchResult.Builder |
dataAssetName(String dataAssetName)
Name of the data asset that is the root parent of this object.
|
SearchResult.Builder |
dataAssetType(String dataAssetType)
Type name of the data asset.
|
SearchResult.Builder |
description(String description)
Detailed description of the object.
|
SearchResult.Builder |
entitykey(String entitykey)
Unique key of the entity object if this object is an attribute.
|
SearchResult.Builder |
entityName(String entityName)
Name of the parent entity object if this object is an attribute.
|
SearchResult.Builder |
entityType(String entityType)
Type name of the entity.
|
SearchResult.Builder |
expression(String expression)
Expression for logical entities against which names of dataObjects will be matched.
|
SearchResult.Builder |
externalDataType(String externalDataType)
Data type of the object if the object is an attribute.
|
SearchResult.Builder |
externalTypeName(String externalTypeName)
Name of the external object type in the host data asset.
|
SearchResult.Builder |
folderKey(String folderKey)
Unique key of the folder object if this object is a sub folder, entity, or attribute.
|
SearchResult.Builder |
folderName(String folderName)
Name of the parent folder object if this object is a sub folder, entity, or attribute.
|
SearchResult.Builder |
folderType(String folderType)
Type name of the folder.
|
SearchResult.Builder |
glossaryKey(String glossaryKey)
Unique id of the parent glossary.
|
SearchResult.Builder |
glossaryName(String glossaryName)
Name of the parent glossary if this object is a term.
|
SearchResult.Builder |
key(String key)
Unique key of the object returned as part of the search result.
|
SearchResult.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the data object.
|
SearchResult.Builder |
name(String name)
Name of the object.
|
SearchResult.Builder |
parentTermKey(String parentTermKey)
This terms parent term key.
|
SearchResult.Builder |
parentTermName(String parentTermName)
Name of the parent term.
|
SearchResult.Builder |
path(String path)
Absolute path of this resource, which could be a term, folder, entity etc, usually
resolvable to this resource through a namespace hierarchy.
|
SearchResult.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the element type in the
search result.
|
SearchResult.Builder |
tagSummary(List<SearchTagSummary> tagSummary)
Array of the tags associated with this object.
|
SearchResult.Builder |
termSummary(List<SearchTermSummary> termSummary)
Array of the terms associated with this object.
|
SearchResult.Builder |
timeCreated(Date timeCreated)
The date and time the result object was created, in the format defined by
RFC3339.
|
SearchResult.Builder |
timeUpdated(Date timeUpdated)
The date and time the result object was updated, in the format defined by
RFC3339.
|
SearchResult.Builder |
typeName(String typeName)
Name of the object type.
|
SearchResult.Builder |
updatedById(String updatedById)
OCID of the user who updated the resource.
|
public SearchResult.Builder key(String key)
Unique key of the object returned as part of the search result.
key
- the value to setpublic SearchResult.Builder name(String name)
Name of the object.
name
- the value to setpublic SearchResult.Builder description(String description)
Detailed description of the object.
description
- the value to setpublic SearchResult.Builder timeCreated(Date timeCreated)
The date and time the result object was created, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeCreated
- the value to setpublic SearchResult.Builder timeUpdated(Date timeUpdated)
The date and time the result object was updated, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeUpdated
- the value to setpublic SearchResult.Builder tagSummary(List<SearchTagSummary> tagSummary)
Array of the tags associated with this object.
tagSummary
- the value to setpublic SearchResult.Builder termSummary(List<SearchTermSummary> termSummary)
Array of the terms associated with this object.
termSummary
- the value to setpublic SearchResult.Builder typeName(String typeName)
Name of the object type.
typeName
- the value to setpublic SearchResult.Builder externalTypeName(String externalTypeName)
Name of the external object type in the host data asset. For example, column, field, table, view, or file.
externalTypeName
- the value to setpublic SearchResult.Builder externalDataType(String externalDataType)
Data type of the object if the object is an attribute. Null otherwise.
externalDataType
- the value to setpublic SearchResult.Builder dataAssetKey(String dataAssetKey)
Unique key of the data asset that is the root parent of this object.
dataAssetKey
- the value to setpublic SearchResult.Builder dataAssetType(String dataAssetType)
Type name of the data asset. For example, Oracle, MySQL or Oracle Object Storage.
dataAssetType
- the value to setpublic SearchResult.Builder dataAssetName(String dataAssetName)
Name of the data asset that is the root parent of this object.
dataAssetName
- the value to setpublic SearchResult.Builder folderKey(String folderKey)
Unique key of the folder object if this object is a sub folder, entity, or attribute.
folderKey
- the value to setpublic SearchResult.Builder folderType(String folderType)
Type name of the folder. For example, schema, directory, or topic.
folderType
- the value to setpublic SearchResult.Builder folderName(String folderName)
Name of the parent folder object if this object is a sub folder, entity, or attribute.
folderName
- the value to setpublic SearchResult.Builder entitykey(String entitykey)
Unique key of the entity object if this object is an attribute.
entitykey
- the value to setpublic SearchResult.Builder entityType(String entityType)
Type name of the entity. For example, table, view, external table, file, or object.
entityType
- the value to setpublic SearchResult.Builder entityName(String entityName)
Name of the parent entity object if this object is an attribute.
entityName
- the value to setpublic SearchResult.Builder glossaryKey(String glossaryKey)
Unique id of the parent glossary.
glossaryKey
- the value to setpublic SearchResult.Builder glossaryName(String glossaryName)
Name of the parent glossary if this object is a term.
glossaryName
- the value to setpublic SearchResult.Builder parentTermKey(String parentTermKey)
This terms parent term key. Will be null if the term has no parent term.
parentTermKey
- the value to setpublic SearchResult.Builder parentTermName(String parentTermName)
Name of the parent term. Will be null if the term has no parent term.
parentTermName
- the value to setpublic SearchResult.Builder createdById(String createdById)
OCID of the user who created the resource.
createdById
- the value to setpublic SearchResult.Builder updatedById(String updatedById)
OCID of the user who updated the resource.
updatedById
- the value to setpublic SearchResult.Builder path(String path)
Absolute path of this resource, which could be a term, folder, entity etc, usually resolvable to this resource through a namespace hierarchy.
path
- the value to setpublic SearchResult.Builder businessName(String businessName)
Optional user friendly business name of the data object. If set, this supplements the harvested display name of the object.
businessName
- the value to setpublic SearchResult.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the data object.
lifecycleState
- the value to setpublic SearchResult.Builder attributeType(String attributeType)
Type name of the attribute. For example - complex, primitive, or array.
attributeType
- the value to setpublic SearchResult.Builder expression(String expression)
Expression for logical entities against which names of dataObjects will be matched.
expression
- the value to setpublic SearchResult.Builder customProperties(List<FacetedSearchCustomProperty> customProperties)
Custom properties defined by users.
customProperties
- the value to setpublic SearchResult.Builder properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the element type in the
search result. 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 element types
have required properties within the “default” category. Example: {"properties": {
"default": { "key1": "value1"}}}
properties
- the value to setpublic SearchResult build()
public SearchResult.Builder copy(SearchResult model)
Copyright © 2016–2024. All rights reserved.