public static interface Button.Builder extends SdkPojo, CopyableBuilder<Button.Builder,Button>
Modifier and Type | Method and Description |
---|---|
Button.Builder |
text(String text)
Text that is visible to the user on the button.
|
Button.Builder |
value(String value)
The value sent to Amazon Lex when a user chooses the button.
|
copy
applyMutation, build
Button.Builder text(String text)
Text that is visible to the user on the button.
text
- Text that is visible to the user on the button.Button.Builder value(String 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."
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."Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.