Interface TextBoxInteractionOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextBoxInteractionOptions.Builder,
,TextBoxInteractionOptions> SdkBuilder<TextBoxInteractionOptions.Builder,
,TextBoxInteractionOptions> SdkPojo
- Enclosing class:
TextBoxInteractionOptions
@Mutable
@NotThreadSafe
public static interface TextBoxInteractionOptions.Builder
extends SdkPojo, CopyableBuilder<TextBoxInteractionOptions.Builder,TextBoxInteractionOptions>
-
Method Summary
Modifier and TypeMethodDescriptiontextBoxMenuOption
(Consumer<TextBoxMenuOption.Builder> textBoxMenuOption) The menu options for the textbox.textBoxMenuOption
(TextBoxMenuOption textBoxMenuOption) The menu options for the textbox.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, sdkFieldNameToField, sdkFields
-
Method Details
-
textBoxMenuOption
The menu options for the textbox.
- Parameters:
textBoxMenuOption
- The menu options for the textbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textBoxMenuOption
default TextBoxInteractionOptions.Builder textBoxMenuOption(Consumer<TextBoxMenuOption.Builder> textBoxMenuOption) The menu options for the textbox.
This is a convenience method that creates an instance of theTextBoxMenuOption.Builder
avoiding the need to create one manually viaTextBoxMenuOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextBoxMenuOption(TextBoxMenuOption)
.- Parameters:
textBoxMenuOption
- a consumer that will call methods onTextBoxMenuOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-