Interface SuggestionMatch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SuggestionMatch.Builder,
,SuggestionMatch> SdkBuilder<SuggestionMatch.Builder,
,SuggestionMatch> SdkPojo
- Enclosing class:
SuggestionMatch
public static interface SuggestionMatch.Builder
extends SdkPojo, CopyableBuilder<SuggestionMatch.Builder,SuggestionMatch>
-
Method Summary
Modifier and TypeMethodDescriptionThe document ID of the suggested document.The relevance score of a suggested match.suggestion
(String suggestion) The string that matches the query string specified in theSuggestRequest
.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
-
suggestion
The string that matches the query string specified in the
SuggestRequest
.- Parameters:
suggestion
- The string that matches the query string specified in theSuggestRequest
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
The relevance score of a suggested match.
- Parameters:
score
- The relevance score of a suggested match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The document ID of the suggested document.
- Parameters:
id
- The document ID of the suggested document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-