@Stability(value=Stable)
public static interface CfnBot.ButtonProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getText()
The text that appears on the button.
|
String |
getValue()
The value returned to Amazon Lex when the user chooses this button.
|
@Stability(value=Stable) @NotNull String getText()
Use this to tell the user the value that is returned when they choose this button.
@Stability(value=Stable) @NotNull String getValue()
This must be one of the slot values configured for the slot.
@Stability(value=Stable) static CfnBot.ButtonProperty.Builder builder()
CfnBot.ButtonProperty.Builder of CfnBot.ButtonPropertyCopyright © 2022. All rights reserved.