Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataAsset |
build() |
DataAsset.Builder |
catalogId(String catalogId)
The data catalog’s OCID.
|
DataAsset.Builder |
copy(DataAsset model) |
DataAsset.Builder |
createdById(String createdById)
OCID of the user who created the data asset.
|
DataAsset.Builder |
customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
|
DataAsset.Builder |
dataSelectorPatterns(List<PatternSummary> dataSelectorPatterns)
The list of data selector patterns used in the harvest for this data asset to derive
logical entities.
|
DataAsset.Builder |
description(String description)
Detailed description of the data asset.
|
DataAsset.Builder |
displayName(String displayName)
A user-friendly display name.
|
DataAsset.Builder |
externalKey(String externalKey)
External URI that can be used to reference the object.
|
DataAsset.Builder |
key(String key)
Unique data asset key that is immutable.
|
DataAsset.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
DataAsset.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the data asset.
|
DataAsset.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the asset type.
|
DataAsset.Builder |
timeCreated(Date timeCreated)
The date and time the data asset was created, in the format defined by
RFC3339.
|
DataAsset.Builder |
timeHarvested(Date timeHarvested)
The last time that a harvest was performed on the data asset.
|
DataAsset.Builder |
timeUpdated(Date timeUpdated)
The last time that any change was made to the data asset.
|
DataAsset.Builder |
typeKey(String typeKey)
The key of the object type.
|
DataAsset.Builder |
updatedById(String updatedById)
OCID of the user who last modified the data asset.
|
DataAsset.Builder |
uri(String uri)
URI to the data asset instance in the API.
|
public DataAsset.Builder key(String key)
Unique data asset key that is immutable.
key
- the value to setpublic DataAsset.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic DataAsset.Builder description(String description)
Detailed description of the data asset.
description
- the value to setpublic DataAsset.Builder catalogId(String catalogId)
The data catalog’s OCID.
catalogId
- the value to setpublic DataAsset.Builder externalKey(String externalKey)
External URI that can be used to reference the object. Format will differ based on the type of object.
externalKey
- the value to setpublic DataAsset.Builder typeKey(String typeKey)
The key of the object type. Type key’s can be found via the ‘/types’ endpoint.
typeKey
- the value to setpublic DataAsset.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the data asset.
lifecycleState
- the value to setpublic DataAsset.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details.
lifecycleDetails
- the value to setpublic DataAsset.Builder timeCreated(Date timeCreated)
The date and time the data asset was created, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeCreated
- the value to setpublic DataAsset.Builder timeUpdated(Date timeUpdated)
The last time that any change was made to the data asset. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic DataAsset.Builder timeHarvested(Date timeHarvested)
The last time that a harvest was performed on the data asset. An RFC3339 formatted datetime string.
timeHarvested
- the value to setpublic DataAsset.Builder createdById(String createdById)
OCID of the user who created the data asset.
createdById
- the value to setpublic DataAsset.Builder updatedById(String updatedById)
OCID of the user who last modified the data asset.
updatedById
- the value to setpublic DataAsset.Builder uri(String uri)
URI to the data asset instance in the API.
uri
- the value to setpublic DataAsset.Builder customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
customPropertyMembers
- the value to setpublic DataAsset.Builder dataSelectorPatterns(List<PatternSummary> dataSelectorPatterns)
The list of data selector patterns used in the harvest for this data asset to derive logical entities.
dataSelectorPatterns
- the value to setpublic DataAsset.Builder properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the asset type. Each
data asset 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 data assets have required properties
within the “default” category. Example: {"properties": { "default": { "host":
"host1", "port": "1521", "database": "orcl"}}}
properties
- the value to setpublic DataAsset build()
public DataAsset.Builder copy(DataAsset model)
Copyright © 2016–2024. All rights reserved.