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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Suggester.BuilderdocumentSuggesterOptions(Consumer<DocumentSuggesterOptions.Builder> documentSuggesterOptions)Sets the value of the DocumentSuggesterOptions property for this object.Suggester.BuilderdocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)Sets the value of the DocumentSuggesterOptions property for this object.Suggester.BuildersuggesterName(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 Detail
-
suggesterName
Suggester.Builder suggesterName(String 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
Suggester.Builder documentSuggesterOptions(DocumentSuggesterOptions 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:
documentSuggesterOptions(DocumentSuggesterOptions)
-
-