public static class CreateDataAssetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateDataAssetDetails |
build() |
CreateDataAssetDetails.Builder |
copy(CreateDataAssetDetails model) |
CreateDataAssetDetails.Builder |
customPropertyMembers(List<CustomPropertySetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
|
CreateDataAssetDetails.Builder |
description(String description)
Detailed description of the data asset.
|
CreateDataAssetDetails.Builder |
displayName(String displayName)
A user-friendly display name.
|
CreateDataAssetDetails.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the data asset type.
|
CreateDataAssetDetails.Builder |
typeKey(String typeKey)
The key of the data asset type.
|
public CreateDataAssetDetails.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 CreateDataAssetDetails.Builder description(String description)
Detailed description of the data asset.
description
- the value to setpublic CreateDataAssetDetails.Builder typeKey(String typeKey)
The key of the data asset type. This can be obtained via the ‘/types’ endpoint.
typeKey
- the value to setpublic CreateDataAssetDetails.Builder customPropertyMembers(List<CustomPropertySetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
customPropertyMembers
- the value to setpublic CreateDataAssetDetails.Builder properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the data 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. To determine the set of optional and required
properties for a data asset type, a query can be done on ‘/types?type=dataAsset’ that
returns a collection of all data asset types. The appropriate data asset type, which
includes definitions of all of it’s properties, can be identified from this collection.
Example: {"properties": { "default": { "host": "host1", "port": "1521",
"database": "orcl"}}}
properties
- the value to setpublic CreateDataAssetDetails build()
public CreateDataAssetDetails.Builder copy(CreateDataAssetDetails model)
Copyright © 2016–2024. All rights reserved.