Interface Button.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Button.Builder,
,Button> SdkBuilder<Button.Builder,
,Button> SdkPojo
- Enclosing class:
Button
-
Method Summary
Modifier and TypeMethodDescriptionText that is visible to the user on the button.The value sent to Amazon Lex when a user chooses the button.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
-
text
Text that is visible to the user on the button.
- Parameters:
text
- Text that is visible to the user on the button.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."
- Parameters:
value
- The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-