@Stability(value=Stable)
public static interface CfnBot.IntentClosingSettingProperty
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.*;
IntentClosingSettingProperty intentClosingSettingProperty = IntentClosingSettingProperty.builder()
.closingResponse(ResponseSpecificationProperty.builder()
.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()))
// the properties below are optional
.allowInterrupt(false)
.build())
// the properties below are optional
.isActive(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.IntentClosingSettingProperty.Builder
A builder for
CfnBot.IntentClosingSettingProperty |
static class |
CfnBot.IntentClosingSettingProperty.Jsii$Proxy
An implementation for
CfnBot.IntentClosingSettingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.IntentClosingSettingProperty.Builder |
builder() |
Object |
getClosingResponse()
`CfnBot.IntentClosingSettingProperty.ClosingResponse`.
|
default Object |
getIsActive()
`CfnBot.IntentClosingSettingProperty.IsActive`.
|
@Stability(value=Stable) @NotNull Object getClosingResponse()
@Stability(value=Stable) @Nullable default Object getIsActive()
@Stability(value=Stable) static CfnBot.IntentClosingSettingProperty.Builder builder()
Copyright © 2021. All rights reserved.