@Stability(value=Stable) public static final class CfnBot.ButtonProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.ButtonProperty>
CfnBot.ButtonProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBot.ButtonProperty |
build()
Builds the configured instance.
|
CfnBot.ButtonProperty.Builder |
text(String text)
Sets the value of
CfnBot.ButtonProperty.getText() |
CfnBot.ButtonProperty.Builder |
value(String value)
Sets the value of
CfnBot.ButtonProperty.getValue() |
@Stability(value=Stable) public CfnBot.ButtonProperty.Builder text(String text)
CfnBot.ButtonProperty.getText()text - The text that appears on the button. This parameter is required.
Use this to tell the user the value that is returned when they choose this button.this@Stability(value=Stable) public CfnBot.ButtonProperty.Builder value(String value)
CfnBot.ButtonProperty.getValue()value - The value returned to Amazon Lex when the user chooses this button. This parameter is required.
This must be one of the slot values configured for the slot.this@Stability(value=Stable) public CfnBot.ButtonProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.ButtonProperty>CfnBot.ButtonPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.