public static interface SuggestModel.Builder extends CopyableBuilder<SuggestModel.Builder,SuggestModel>
| Modifier and Type | Method and Description |
|---|---|
SuggestModel.Builder |
found(Long found)
The number of documents that were found to match the query string.
|
SuggestModel.Builder |
query(String query)
The query string specified in the suggest request.
|
SuggestModel.Builder |
suggestions(Collection<SuggestionMatch> suggestions)
The documents that match the query string.
|
SuggestModel.Builder |
suggestions(SuggestionMatch... suggestions)
The documents that match the query string.
|
copyapply, buildSuggestModel.Builder query(String query)
The query string specified in the suggest request.
query - The query string specified in the suggest request.SuggestModel.Builder found(Long found)
The number of documents that were found to match the query string.
found - The number of documents that were found to match the query string.SuggestModel.Builder suggestions(Collection<SuggestionMatch> suggestions)
The documents that match the query string.
suggestions - The documents that match the query string.SuggestModel.Builder suggestions(SuggestionMatch... suggestions)
The documents that match the query string.
suggestions - The documents that match the query string.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.