public static interface SuggestionMatch.Builder extends CopyableBuilder<SuggestionMatch.Builder,SuggestionMatch>
Modifier and Type | Method and Description |
---|---|
SuggestionMatch.Builder |
id(String id)
The document ID of the suggested document.
|
SuggestionMatch.Builder |
score(Long score)
The relevance score of a suggested match.
|
SuggestionMatch.Builder |
suggestion(String suggestion)
The string that matches the query string specified in the
SuggestRequest . |
copy
applyMutation, build
SuggestionMatch.Builder suggestion(String suggestion)
The string that matches the query string specified in the SuggestRequest
.
suggestion
- The string that matches the query string specified in the SuggestRequest
.SuggestionMatch.Builder score(Long score)
The relevance score of a suggested match.
score
- The relevance score of a suggested match.SuggestionMatch.Builder id(String id)
The document ID of the suggested document.
id
- The document ID of the suggested document.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.