Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataAsset.Builder |
assetProperties(Map<String,String> assetProperties)
Additional properties for the data asset.
|
DataAsset |
build() |
DataAsset.Builder |
copy(DataAsset model) |
DataAsset.Builder |
defaultConnection(Connection defaultConnection) |
DataAsset.Builder |
description(String description)
User-defined description of the data asset.
|
DataAsset.Builder |
endPoints(List<DpEndpoint> endPoints)
The list of endpoints with which this data asset is associated.
|
DataAsset.Builder |
externalKey(String externalKey)
The external key of the object.
|
DataAsset.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
DataAsset.Builder |
key(String key)
Currently not used while creating a data asset.
|
DataAsset.Builder |
metadata(ObjectMetadata metadata) |
DataAsset.Builder |
modelType(String modelType)
The type of the object.
|
DataAsset.Builder |
modelVersion(String modelVersion)
The model version of an object.
|
DataAsset.Builder |
name(String name)
Free form text without any restriction on the permitted characters.
|
DataAsset.Builder |
nativeTypeSystem(TypeSystem nativeTypeSystem) |
DataAsset.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
DataAsset.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
DataAsset.Builder |
properties(Map<String,Object> properties)
All the properties for the data asset in a key-value map format.
|
DataAsset.Builder |
registryMetadata(RegistryMetadata registryMetadata) |
DataAsset.Builder |
type(String type)
Specific DataAsset Type
|
public DataAsset.Builder key(String key)
Currently not used while creating a data asset. Reserved for future.
key
- the value to setpublic DataAsset.Builder modelVersion(String modelVersion)
The model version of an object.
modelVersion
- the value to setpublic DataAsset.Builder modelType(String modelType)
The type of the object.
modelType
- the value to setpublic DataAsset.Builder name(String name)
Free form text without any restriction on the permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
name
- the value to setpublic DataAsset.Builder description(String description)
User-defined description of the data asset.
description
- the value to setpublic DataAsset.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectStatus
- the value to setpublic DataAsset.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic DataAsset.Builder identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers. It should begin with an upper case letter or underscore. The value can be modified.
identifier
- the value to setpublic DataAsset.Builder externalKey(String externalKey)
The external key of the object.
externalKey
- the value to setpublic DataAsset.Builder assetProperties(Map<String,String> assetProperties)
Additional properties for the data asset.
assetProperties
- the value to setpublic DataAsset.Builder properties(Map<String,Object> properties)
All the properties for the data asset in a key-value map format.
properties
- the value to setpublic DataAsset.Builder type(String type)
Specific DataAsset Type
type
- the value to setpublic DataAsset.Builder nativeTypeSystem(TypeSystem nativeTypeSystem)
public DataAsset.Builder registryMetadata(RegistryMetadata registryMetadata)
public DataAsset.Builder metadata(ObjectMetadata metadata)
public DataAsset.Builder defaultConnection(Connection defaultConnection)
public DataAsset.Builder endPoints(List<DpEndpoint> endPoints)
The list of endpoints with which this data asset is associated.
endPoints
- the value to setpublic DataAsset build()
public DataAsset.Builder copy(DataAsset model)
Copyright © 2016–2023. All rights reserved.