Interface RelevanceFeedback.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RelevanceFeedback.Builder,
,RelevanceFeedback> SdkBuilder<RelevanceFeedback.Builder,
,RelevanceFeedback> SdkPojo
- Enclosing class:
RelevanceFeedback
public static interface RelevanceFeedback.Builder
extends SdkPojo, CopyableBuilder<RelevanceFeedback.Builder,RelevanceFeedback>
-
Method Summary
Modifier and TypeMethodDescriptionrelevanceValue
(String relevanceValue) Whether the document was relevant or not relevant to the search.relevanceValue
(RelevanceType relevanceValue) Whether the document was relevant or not relevant to the search.The identifier of the search result that the user provided relevance feedback for.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resultId
The identifier of the search result that the user provided relevance feedback for.
- Parameters:
resultId
- The identifier of the search result that the user provided relevance feedback for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relevanceValue
Whether the document was relevant or not relevant to the search.
- Parameters:
relevanceValue
- Whether the document was relevant or not relevant to the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relevanceValue
Whether the document was relevant or not relevant to the search.
- Parameters:
relevanceValue
- Whether the document was relevant or not relevant to the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-