public static class RecommendationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RecommendationDetails |
build() |
RecommendationDetails.Builder |
confidenceScore(Float confidenceScore)
Level of confidence, on a scale between 0 and 1, that the recommendation is applicable.
|
RecommendationDetails.Builder |
copy(RecommendationDetails model) |
RecommendationDetails.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains additional properties which are specific to the associated objects.
|
RecommendationDetails.Builder |
recommendationKey(String recommendationKey)
Unique identifier of the recommendation.
|
RecommendationDetails.Builder |
recommendationStatus(RecommendationStatus recommendationStatus)
Status of a recommendation.
|
RecommendationDetails.Builder |
recommendationType(RecommendationType recommendationType)
Type of recommendation.
|
RecommendationDetails.Builder |
sourceObjectKey(String sourceObjectKey)
Unique identifier of the source object; the one for which a recommendation is made.
|
RecommendationDetails.Builder |
sourceObjectName(String sourceObjectName)
Name of the source object; the one for which a recommendation is made.
|
RecommendationDetails.Builder |
sourceObjectType(RecommendationResourceType sourceObjectType)
Type of the source object; the one for which a recommendation is made.
|
RecommendationDetails.Builder |
targetObjectKey(String targetObjectKey)
Unique identifier of the target object; the one which has been recommended.
|
RecommendationDetails.Builder |
targetObjectName(String targetObjectName)
Name of the target object; the one which has been recommended.
|
RecommendationDetails.Builder |
targetObjectType(RecommendationResourceType targetObjectType)
Type of the target object; the one which has been recommended.
|
public RecommendationDetails.Builder recommendationKey(String recommendationKey)
Unique identifier of the recommendation.
recommendationKey
- the value to setpublic RecommendationDetails.Builder recommendationType(RecommendationType recommendationType)
Type of recommendation.
recommendationType
- the value to setpublic RecommendationDetails.Builder recommendationStatus(RecommendationStatus recommendationStatus)
Status of a recommendation.
recommendationStatus
- the value to setpublic RecommendationDetails.Builder confidenceScore(Float confidenceScore)
Level of confidence, on a scale between 0 and 1, that the recommendation is applicable.
confidenceScore
- the value to setpublic RecommendationDetails.Builder sourceObjectKey(String sourceObjectKey)
Unique identifier of the source object; the one for which a recommendation is made.
sourceObjectKey
- the value to setpublic RecommendationDetails.Builder sourceObjectName(String sourceObjectName)
Name of the source object; the one for which a recommendation is made.
sourceObjectName
- the value to setpublic RecommendationDetails.Builder sourceObjectType(RecommendationResourceType sourceObjectType)
Type of the source object; the one for which a recommendation is made.
sourceObjectType
- the value to setpublic RecommendationDetails.Builder targetObjectKey(String targetObjectKey)
Unique identifier of the target object; the one which has been recommended.
targetObjectKey
- the value to setpublic RecommendationDetails.Builder targetObjectName(String targetObjectName)
Name of the target object; the one which has been recommended.
targetObjectName
- the value to setpublic RecommendationDetails.Builder targetObjectType(RecommendationResourceType targetObjectType)
Type of the target object; the one which has been recommended.
targetObjectType
- the value to setpublic 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”
}
}
properties
- the value to setpublic RecommendationDetails build()
public RecommendationDetails.Builder copy(RecommendationDetails model)
Copyright © 2016–2023. All rights reserved.