@Stability(value=Stable)
public static interface CfnBot.StillWaitingResponseSpecificationProperty
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.*;
StillWaitingResponseSpecificationProperty stillWaitingResponseSpecificationProperty = StillWaitingResponseSpecificationProperty.builder()
.frequencyInSeconds(123)
.messageGroupsList(List.of(MessageGroupProperty.builder()
.message(MessageProperty.builder()
.customPayload(CustomPayloadProperty.builder()
.value("value")
.build())
.imageResponseCard(ImageResponseCardProperty.builder()
.title("title")
// the properties below are optional
.buttons(List.of(ButtonProperty.builder()
.text("text")
.value("value")
.build()))
.imageUrl("imageUrl")
.subtitle("subtitle")
.build())
.plainTextMessage(PlainTextMessageProperty.builder()
.value("value")
.build())
.ssmlMessage(SSMLMessageProperty.builder()
.value("value")
.build())
.build())
// the properties below are optional
.variations(List.of(MessageProperty.builder()
.customPayload(CustomPayloadProperty.builder()
.value("value")
.build())
.imageResponseCard(ImageResponseCardProperty.builder()
.title("title")
// the properties below are optional
.buttons(List.of(ButtonProperty.builder()
.text("text")
.value("value")
.build()))
.imageUrl("imageUrl")
.subtitle("subtitle")
.build())
.plainTextMessage(PlainTextMessageProperty.builder()
.value("value")
.build())
.ssmlMessage(SSMLMessageProperty.builder()
.value("value")
.build())
.build()))
.build()))
.timeoutInSeconds(123)
// the properties below are optional
.allowInterrupt(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.StillWaitingResponseSpecificationProperty.Builder
A builder for
CfnBot.StillWaitingResponseSpecificationProperty |
static class |
CfnBot.StillWaitingResponseSpecificationProperty.Jsii$Proxy
An implementation for
CfnBot.StillWaitingResponseSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.StillWaitingResponseSpecificationProperty.Builder |
builder() |
default Object |
getAllowInterrupt()
Indicates that the user can interrupt the response by speaking while the message is being played.
|
Number |
getFrequencyInSeconds()
How often a message should be sent to the user.
|
Object |
getMessageGroupsList()
A collection of responses that Amazon Lex can send to the user.
|
Number |
getTimeoutInSeconds()
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
|
@Stability(value=Stable) @NotNull Number getFrequencyInSeconds()
Minimum of 1 second, maximum of 5 minutes.
@Stability(value=Stable) @NotNull Object getMessageGroupsList()
Amazon Lex chooses the actual response to send at runtime.
@Stability(value=Stable) @NotNull Number getTimeoutInSeconds()
@Stability(value=Stable) @Nullable default Object getAllowInterrupt()
@Stability(value=Stable) static CfnBot.StillWaitingResponseSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.