public static interface Button.Builder extends SdkPojo, CopyableBuilder<Button.Builder,Button>
| Modifier and Type | Method and Description |
|---|---|
Button.Builder |
text(String text)
The text that appears on the button.
|
Button.Builder |
value(String value)
The value returned to Amazon Lex when the user chooses this button.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildButton.Builder text(String text)
The text that appears on the button. Use this to tell the user what value is returned when they choose this button.
text - The text that appears on the button. Use this to tell the user what value is returned when they choose
this button.Button.Builder value(String value)
The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
value - The value returned to Amazon Lex when the user chooses this button. This must be one of the slot
values configured for the slot.Copyright © 2021. All rights reserved.