CopyableBuilder<SuggestRequest.Builder,SuggestRequest>
, SdkBuilder<SuggestRequest.Builder,SuggestRequest>
public static interface SuggestRequest.Builder extends CopyableBuilder<SuggestRequest.Builder,SuggestRequest>
Modifier and Type | Method | Description |
---|---|---|
SuggestRequest.Builder |
query(String query) |
Specifies the string for which you want to get suggestions.
|
SuggestRequest.Builder |
size(Long size) |
Specifies the maximum number of suggestions to return.
|
SuggestRequest.Builder |
suggester(String suggester) |
Specifies the name of the suggester to use to find suggested matches.
|
copy
apply, build
SuggestRequest.Builder query(String query)
Specifies the string for which you want to get suggestions.
query
- Specifies the string for which you want to get suggestions.SuggestRequest.Builder suggester(String suggester)
Specifies the name of the suggester to use to find suggested matches.
suggester
- Specifies the name of the suggester to use to find suggested matches.SuggestRequest.Builder size(Long size)
Specifies the maximum number of suggestions to return.
size
- Specifies the maximum number of suggestions to return.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.