@Stability(value=Stable)
public static interface CfnBot.IntentClosingSettingProperty
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.*;
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()
The response that Amazon Lex sends to the user when the intent is complete.
|
default Object |
getIsActive()
Specifies whether an intent's closing response is used.
|
@Stability(value=Stable) @NotNull Object getClosingResponse()
@Stability(value=Stable) @Nullable default Object getIsActive()
When this field is false, the closing response isn't sent to the user and no closing input from the user is used. If the IsActive field isn't specified, the default is true.
@Stability(value=Stable) static CfnBot.IntentClosingSettingProperty.Builder builder()
Copyright © 2022. All rights reserved.