public static class CreateCustomPropertyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateCustomPropertyDetails.Builder |
allowedValues(List<String> allowedValues)
Allowed values for the custom property if any
|
CreateCustomPropertyDetails |
build() |
CreateCustomPropertyDetails.Builder |
copy(CreateCustomPropertyDetails model) |
CreateCustomPropertyDetails.Builder |
dataType(CustomPropertyDataType dataType)
The data type of the custom property
|
CreateCustomPropertyDetails.Builder |
description(String description)
Detailed description of the custom property.
|
CreateCustomPropertyDetails.Builder |
displayName(String displayName)
A user-friendly display name.
|
CreateCustomPropertyDetails.Builder |
isEditable(Boolean isEditable)
If this field is a editable field
|
CreateCustomPropertyDetails.Builder |
isEventEnabled(Boolean isEventEnabled)
If an OCI Event will be emitted when the custom property is modified.
|
CreateCustomPropertyDetails.Builder |
isFilterable(Boolean isFilterable)
If this field allows to filter or create facets from UI
|
CreateCustomPropertyDetails.Builder |
isHidden(Boolean isHidden)
If this field is a hidden field
|
CreateCustomPropertyDetails.Builder |
isHiddenInSearch(Boolean isHiddenInSearch)
If this field is allowed to pop in search results
|
CreateCustomPropertyDetails.Builder |
isMultiValued(Boolean isMultiValued)
If this field allows multiple values to be set
|
CreateCustomPropertyDetails.Builder |
isShownInList(Boolean isShownInList)
If this field is displayed in a list view of applicable objects.
|
CreateCustomPropertyDetails.Builder |
isSortable(Boolean isSortable)
If this field allows to sort from UI
|
CreateCustomPropertyDetails.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the data asset type.
|
public CreateCustomPropertyDetails.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 CreateCustomPropertyDetails.Builder description(String description)
Detailed description of the custom property.
description
- the value to setpublic CreateCustomPropertyDetails.Builder dataType(CustomPropertyDataType dataType)
The data type of the custom property
dataType
- the value to setpublic CreateCustomPropertyDetails.Builder isSortable(Boolean isSortable)
If this field allows to sort from UI
isSortable
- the value to setpublic CreateCustomPropertyDetails.Builder isFilterable(Boolean isFilterable)
If this field allows to filter or create facets from UI
isFilterable
- the value to setpublic CreateCustomPropertyDetails.Builder isMultiValued(Boolean isMultiValued)
If this field allows multiple values to be set
isMultiValued
- the value to setpublic CreateCustomPropertyDetails.Builder isHidden(Boolean isHidden)
If this field is a hidden field
isHidden
- the value to setpublic CreateCustomPropertyDetails.Builder isEditable(Boolean isEditable)
If this field is a editable field
isEditable
- the value to setpublic CreateCustomPropertyDetails.Builder isShownInList(Boolean isShownInList)
If this field is displayed in a list view of applicable objects.
isShownInList
- the value to setpublic CreateCustomPropertyDetails.Builder isHiddenInSearch(Boolean isHiddenInSearch)
If this field is allowed to pop in search results
isHiddenInSearch
- the value to setpublic CreateCustomPropertyDetails.Builder isEventEnabled(Boolean isEventEnabled)
If an OCI Event will be emitted when the custom property is modified.
isEventEnabled
- the value to setpublic CreateCustomPropertyDetails.Builder allowedValues(List<String> allowedValues)
Allowed values for the custom property if any
allowedValues
- the value to setpublic CreateCustomPropertyDetails.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 CreateCustomPropertyDetails build()
public CreateCustomPropertyDetails.Builder copy(CreateCustomPropertyDetails model)
Copyright © 2016–2024. All rights reserved.