Class UpdateCustomPropertyDetails.Builder

    • Constructor Detail

      • Builder

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