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.BuilderdocumentSuggesterOptions(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaDocumentSuggesterOptions.builder().When the
Consumercompletes,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:
-