Class CreateCustomPropertyDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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
      • 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