public static interface Suggester.Builder extends CopyableBuilder<Suggester.Builder,Suggester>
Modifier and Type | Method and Description |
---|---|
default Suggester.Builder |
documentSuggesterOptions(Consumer<DocumentSuggesterOptions.Builder> documentSuggesterOptions)
Sets the value of the DocumentSuggesterOptions property for this object.
|
Suggester.Builder |
documentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)
Sets the value of the DocumentSuggesterOptions property for this object.
|
Suggester.Builder |
suggesterName(String suggesterName)
Sets the value of the SuggesterName property for this object.
|
copy
applyMutation, build
Suggester.Builder suggesterName(String suggesterName)
suggesterName
- The new value for the SuggesterName property for this object.Suggester.Builder documentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)
documentSuggesterOptions
- The new value for the DocumentSuggesterOptions property for this object.default Suggester.Builder documentSuggesterOptions(Consumer<DocumentSuggesterOptions.Builder> documentSuggesterOptions)
DocumentSuggesterOptions.Builder
avoiding the
need to create one manually via DocumentSuggesterOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to documentSuggesterOptions(DocumentSuggesterOptions)
.documentSuggesterOptions
- a consumer that will call methods on DocumentSuggesterOptions.Builder
documentSuggesterOptions(DocumentSuggesterOptions)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.