Class CreateDataAssetDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.CreateDataAssetDetails.Builder
-
- Enclosing class:
- CreateDataAssetDetails
public static class CreateDataAssetDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 objectCreateDataAssetDetails.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.
-
-
-
Method Detail
-
displayName
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.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateDataAssetDetails.Builder description(String description)
Detailed description of the data asset.- Parameters:
description
- the value to set- Returns:
- this builder
-
typeKey
public CreateDataAssetDetails.Builder typeKey(String typeKey)
The key of the data asset type.This can be obtained via the ‘/types’ endpoint.
- Parameters:
typeKey
- the value to set- Returns:
- this builder
-
customPropertyMembers
public CreateDataAssetDetails.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 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”}}}
- Parameters:
properties
- the value to set- Returns:
- this builder
-
build
public CreateDataAssetDetails build()
-
copy
public CreateDataAssetDetails.Builder copy(CreateDataAssetDetails model)
-
-