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