Class CreateCustomPropertyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.CreateCustomPropertyDetails.Builder
-
- Enclosing class:
- CreateCustomPropertyDetails
public static class CreateCustomPropertyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCustomPropertyDetails.BuilderallowedValues(List<String> allowedValues)Allowed values for the custom property if anyCreateCustomPropertyDetailsbuild()CreateCustomPropertyDetails.Buildercopy(CreateCustomPropertyDetails model)CreateCustomPropertyDetails.BuilderdataType(CustomPropertyDataType dataType)The data type of the custom propertyCreateCustomPropertyDetails.Builderdescription(String description)Detailed description of the custom property.CreateCustomPropertyDetails.BuilderdisplayName(String displayName)A user-friendly display name.CreateCustomPropertyDetails.BuilderisEditable(Boolean isEditable)If this field is a editable fieldCreateCustomPropertyDetails.BuilderisEventEnabled(Boolean isEventEnabled)If an OCI Event will be emitted when the custom property is modified.CreateCustomPropertyDetails.BuilderisFilterable(Boolean isFilterable)If this field allows to filter or create facets from UICreateCustomPropertyDetails.BuilderisHidden(Boolean isHidden)If this field is a hidden fieldCreateCustomPropertyDetails.BuilderisHiddenInSearch(Boolean isHiddenInSearch)If this field is allowed to pop in search resultsCreateCustomPropertyDetails.BuilderisMultiValued(Boolean isMultiValued)If this field allows multiple values to be setCreateCustomPropertyDetails.BuilderisShownInList(Boolean isShownInList)If this field is displayed in a list view of applicable objects.CreateCustomPropertyDetails.BuilderisSortable(Boolean isSortable)If this field allows to sort from UICreateCustomPropertyDetails.Builderproperties(Map<String,Map<String,String>> properties)A map of maps that contains the properties which are specific to the data asset type.
-
-
-
Method Detail
-
displayName
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.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreateCustomPropertyDetails.Builder description(String description)
Detailed description of the custom property.- Parameters:
description- the value to set- Returns:
- this builder
-
dataType
public CreateCustomPropertyDetails.Builder dataType(CustomPropertyDataType dataType)
The data type of the custom property- Parameters:
dataType- the value to set- Returns:
- this builder
-
isSortable
public CreateCustomPropertyDetails.Builder isSortable(Boolean isSortable)
If this field allows to sort from UI- Parameters:
isSortable- the value to set- Returns:
- this builder
-
isFilterable
public CreateCustomPropertyDetails.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 CreateCustomPropertyDetails.Builder isMultiValued(Boolean isMultiValued)
If this field allows multiple values to be set- Parameters:
isMultiValued- the value to set- Returns:
- this builder
-
isHidden
public CreateCustomPropertyDetails.Builder isHidden(Boolean isHidden)
If this field is a hidden field- Parameters:
isHidden- the value to set- Returns:
- this builder
-
isEditable
public CreateCustomPropertyDetails.Builder isEditable(Boolean isEditable)
If this field is a editable field- Parameters:
isEditable- the value to set- Returns:
- this builder
-
isShownInList
public CreateCustomPropertyDetails.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 CreateCustomPropertyDetails.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 CreateCustomPropertyDetails.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 CreateCustomPropertyDetails.Builder allowedValues(List<String> allowedValues)
Allowed values for the custom property if any- Parameters:
allowedValues- the value to set- Returns:
- this builder
-
properties
public 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”}}}
- Parameters:
properties- the value to set- Returns:
- this builder
-
build
public CreateCustomPropertyDetails build()
-
copy
public CreateCustomPropertyDetails.Builder copy(CreateCustomPropertyDetails model)
-
-