Interface RecommendationData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationData.Builder,,RecommendationData> SdkBuilder<RecommendationData.Builder,,RecommendationData> SdkPojo
- Enclosing class:
RecommendationData
public static interface RecommendationData.Builder
extends SdkPojo, CopyableBuilder<RecommendationData.Builder,RecommendationData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RecommendationData.Builderdata(Consumer<DataSummary.Builder> data) Summary of the recommended content.data(DataSummary data) Summary of the recommended content.default RecommendationData.Builderdocument(Consumer<Document.Builder> document) The recommended document.The recommended document.recommendationId(String recommendationId) The identifier of the recommendation.relevanceLevel(String relevanceLevel) The relevance level of the recommendation.relevanceLevel(RelevanceLevel relevanceLevel) The relevance level of the recommendation.relevanceScore(Double relevanceScore) The relevance score of the recommendation.The type of recommendation.type(RecommendationType type) The type of recommendation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
data
Summary of the recommended content.
- Parameters:
data- Summary of the recommended content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Summary of the recommended content.
This is a convenience method that creates an instance of theDataSummary.Builderavoiding the need to create one manually viaDataSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todata(DataSummary).- Parameters:
data- a consumer that will call methods onDataSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
document
The recommended document.
- Parameters:
document- The recommended document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
document
The recommended document.
This is a convenience method that creates an instance of theDocument.Builderavoiding the need to create one manually viaDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocument(Document).- Parameters:
document- a consumer that will call methods onDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationId
The identifier of the recommendation.
- Parameters:
recommendationId- The identifier of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relevanceLevel
The relevance level of the recommendation.
- Parameters:
relevanceLevel- The relevance level of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relevanceLevel
The relevance level of the recommendation.
- Parameters:
relevanceLevel- The relevance level of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relevanceScore
The relevance score of the recommendation.
- Parameters:
relevanceScore- The relevance score of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of recommendation.
- Parameters:
type- The type of recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of recommendation.
- Parameters:
type- The type of recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-