@Stability(value=Stable)
public static interface CfnBot.StillWaitingResponseSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
// 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()
`CfnBot.StillWaitingResponseSpecificationProperty.AllowInterrupt`.
|
Number |
getFrequencyInSeconds()
`CfnBot.StillWaitingResponseSpecificationProperty.FrequencyInSeconds`.
|
Object |
getMessageGroupsList()
`CfnBot.StillWaitingResponseSpecificationProperty.MessageGroupsList`.
|
Number |
getTimeoutInSeconds()
`CfnBot.StillWaitingResponseSpecificationProperty.TimeoutInSeconds`.
|
@Stability(value=Stable) @Nullable default Object getAllowInterrupt()
@Stability(value=Stable) @NotNull Number getFrequencyInSeconds()
@Stability(value=Stable) @NotNull Object getMessageGroupsList()
@Stability(value=Stable) @NotNull Number getTimeoutInSeconds()
@Stability(value=Stable) static CfnBot.StillWaitingResponseSpecificationProperty.Builder builder()
Copyright © 2021. All rights reserved.