Interface Suggester.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Suggester.Builder,
,Suggester> SdkBuilder<Suggester.Builder,
,Suggester> SdkPojo
- Enclosing class:
Suggester
public static interface Suggester.Builder
extends SdkPojo, CopyableBuilder<Suggester.Builder,Suggester>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Suggester.Builder
documentSuggesterOptions
(Consumer<DocumentSuggesterOptions.Builder> documentSuggesterOptions) Sets the value of the DocumentSuggesterOptions property for this object.documentSuggesterOptions
(DocumentSuggesterOptions documentSuggesterOptions) Sets the value of the DocumentSuggesterOptions property for this object.suggesterName
(String suggesterName) Sets the value of the SuggesterName property for this object.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
-
suggesterName
Sets the value of the SuggesterName property for this object.- Parameters:
suggesterName
- The new value for the SuggesterName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentSuggesterOptions
Sets the value of the DocumentSuggesterOptions property for this object.- Parameters:
documentSuggesterOptions
- The new value for the DocumentSuggesterOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentSuggesterOptions
default Suggester.Builder documentSuggesterOptions(Consumer<DocumentSuggesterOptions.Builder> documentSuggesterOptions) Sets the value of the DocumentSuggesterOptions property for this object. This is a convenience method that creates an instance of theDocumentSuggesterOptions.Builder
avoiding the need to create one manually viaDocumentSuggesterOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentSuggesterOptions(DocumentSuggesterOptions)
.- Parameters:
documentSuggesterOptions
- a consumer that will call methods onDocumentSuggesterOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-