public static interface CfnBot.ButtonProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lex.*; ButtonProperty buttonProperty = ButtonProperty.builder() .text("text") .value("value") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnBot.ButtonProperty.Builder
A builder for
CfnBot.ButtonProperty |
static class |
CfnBot.ButtonProperty.Jsii$Proxy
An implementation for
CfnBot.ButtonProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBot.ButtonProperty.Builder |
builder() |
java.lang.String |
getText()
The text that appears on the button.
|
java.lang.String |
getValue()
The value returned to Amazon Lex when the user chooses this button.
|
java.lang.String getText()
Use this to tell the user the value that is returned when they choose this button.
java.lang.String getValue()
This must be one of the slot values configured for the slot.
static CfnBot.ButtonProperty.Builder builder()
CfnBot.ButtonProperty.Builder
of CfnBot.ButtonProperty