Interface CfnBotPropsMixin.ButtonProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.ButtonProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.ButtonProperty
extends software.amazon.jsii.JsiiSerializable
Describes a button to use on a response card used to gather slot values from a user.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lex.*;
ButtonProperty buttonProperty = ButtonProperty.builder()
.text("text")
.value("value")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.ButtonPropertystatic final classAn implementation forCfnBotPropsMixin.ButtonProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getText
The text that appears on the button.Use this to tell the user what value is returned when they choose this button.
- See Also:
-
getValue
The value returned to Amazon Lex when the user chooses this button.This must be one of the slot values configured for the slot.
- See Also:
-
builder
-