Package com.oracle.bmc.datacatalog.model
Class UpdateCustomPropertyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.UpdateCustomPropertyDetails.Builder
-
- Enclosing class:
- UpdateCustomPropertyDetails
public static class UpdateCustomPropertyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCustomPropertyDetails.Builder
allowedValues(List<String> allowedValues)
Allowed values for the custom property if anyUpdateCustomPropertyDetails
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 fieldUpdateCustomPropertyDetails.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 UIUpdateCustomPropertyDetails.Builder
isHidden(Boolean isHidden)
If this field is a hidden fieldUpdateCustomPropertyDetails.Builder
isHiddenInSearch(Boolean isHiddenInSearch)
If this field is allowed to pop in search resultsUpdateCustomPropertyDetails.Builder
isMultiValued(Boolean isMultiValued)
If this field allows multiple values to be setUpdateCustomPropertyDetails.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 UIUpdateCustomPropertyDetails.Builder
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the asset type.
-
-
-
Method Detail
-
displayName
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.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UpdateCustomPropertyDetails.Builder description(String description)
Detailed description of the data asset.- Parameters:
description
- the value to set- Returns:
- this builder
-
isSortable
public UpdateCustomPropertyDetails.Builder isSortable(Boolean isSortable)
If this field allows to sort from UI- Parameters:
isSortable
- the value to set- Returns:
- this builder
-
isFilterable
public UpdateCustomPropertyDetails.Builder isFilterable(Boolean isFilterable)
If this field allows to filter or create facets from UI- Parameters:
isFilterable
- the value to set- Returns:
- this builder
-
isMultiValued
public UpdateCustomPropertyDetails.Builder isMultiValued(Boolean isMultiValued)
If this field allows multiple values to be set- Parameters:
isMultiValued
- the value to set- Returns:
- this builder
-
isHidden
public UpdateCustomPropertyDetails.Builder isHidden(Boolean isHidden)
If this field is a hidden field- Parameters:
isHidden
- the value to set- Returns:
- this builder
-
isEditable
public UpdateCustomPropertyDetails.Builder isEditable(Boolean isEditable)
If this field is a editable field- Parameters:
isEditable
- the value to set- Returns:
- this builder
-
isShownInList
public UpdateCustomPropertyDetails.Builder isShownInList(Boolean isShownInList)
If this field is displayed in a list view of applicable objects.- Parameters:
isShownInList
- the value to set- Returns:
- this builder
-
isHiddenInSearch
public UpdateCustomPropertyDetails.Builder isHiddenInSearch(Boolean isHiddenInSearch)
If this field is allowed to pop in search results- Parameters:
isHiddenInSearch
- the value to set- Returns:
- this builder
-
isEventEnabled
public UpdateCustomPropertyDetails.Builder isEventEnabled(Boolean isEventEnabled)
If an OCI Event will be emitted when the custom property is modified.- Parameters:
isEventEnabled
- the value to set- Returns:
- this builder
-
allowedValues
public UpdateCustomPropertyDetails.Builder allowedValues(List<String> allowedValues)
Allowed values for the custom property if any- Parameters:
allowedValues
- the value to set- Returns:
- this builder
-
properties
public 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”}}}
- Parameters:
properties
- the value to set- Returns:
- this builder
-
build
public UpdateCustomPropertyDetails build()
-
copy
public UpdateCustomPropertyDetails.Builder copy(UpdateCustomPropertyDetails model)
-
-