Class RecommendationDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • recommendationKey

        public RecommendationDetails.Builder recommendationKey​(String recommendationKey)
        Unique identifier of the recommendation.
        Parameters:
        recommendationKey - the value to set
        Returns:
        this builder
      • confidenceScore

        public RecommendationDetails.Builder confidenceScore​(Float confidenceScore)
        Level of confidence, on a scale between 0 and 1, that the recommendation is applicable.
        Parameters:
        confidenceScore - the value to set
        Returns:
        this builder
      • sourceObjectKey

        public RecommendationDetails.Builder sourceObjectKey​(String sourceObjectKey)
        Unique identifier of the source object; the one for which a recommendation is made.
        Parameters:
        sourceObjectKey - the value to set
        Returns:
        this builder
      • sourceObjectName

        public RecommendationDetails.Builder sourceObjectName​(String sourceObjectName)
        Name of the source object; the one for which a recommendation is made.
        Parameters:
        sourceObjectName - the value to set
        Returns:
        this builder
      • targetObjectKey

        public RecommendationDetails.Builder targetObjectKey​(String targetObjectKey)
        Unique identifier of the target object; the one which has been recommended.
        Parameters:
        targetObjectKey - the value to set
        Returns:
        this builder
      • targetObjectName

        public RecommendationDetails.Builder targetObjectName​(String targetObjectName)
        Name of the target object; the one which has been recommended.
        Parameters:
        targetObjectName - the value to set
        Returns:
        this builder
      • properties

        public RecommendationDetails.Builder properties​(Map<String,​Map<String,​String>> properties)
        A map of maps that contains additional properties which are specific to the associated objects.

        Each associated object defines it’s set of required and optional properties. Example: { “DataEntity”: { “parentId”: “entityId” }, “Term”: { “parentId”: “glossaryId” } }

        Parameters:
        properties - the value to set
        Returns:
        this builder