@Stability(value=Stable)
public static interface CfnBot.FulfillmentUpdatesSpecificationProperty
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.*;
FulfillmentUpdatesSpecificationProperty fulfillmentUpdatesSpecificationProperty = FulfillmentUpdatesSpecificationProperty.builder()
.active(false)
// the properties below are optional
.startResponse(FulfillmentStartResponseSpecificationProperty.builder()
.delayInSeconds(123)
.messageGroups(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())
.timeoutInSeconds(123)
.updateResponse(FulfillmentUpdateResponseSpecificationProperty.builder()
.frequencyInSeconds(123)
.messageGroups(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())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.FulfillmentUpdatesSpecificationProperty.Builder
A builder for
CfnBot.FulfillmentUpdatesSpecificationProperty |
static class |
CfnBot.FulfillmentUpdatesSpecificationProperty.Jsii$Proxy
An implementation for
CfnBot.FulfillmentUpdatesSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.FulfillmentUpdatesSpecificationProperty.Builder |
builder() |
Object |
getActive()
Determines whether fulfillment updates are sent to the user.
|
default Object |
getStartResponse()
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
|
default Number |
getTimeoutInSeconds()
The length of time that the fulfillment Lambda function should run before it times out.
|
default Object |
getUpdateResponse()
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
|
@Stability(value=Stable) @NotNull Object getActive()
If the active field is set to true, the startResponse , updateResponse , and timeoutInSeconds fields are required.
@Stability(value=Stable) @Nullable default Object getStartResponse()
@Stability(value=Stable) @Nullable default Number getTimeoutInSeconds()
@Stability(value=Stable) @Nullable default Object getUpdateResponse()
@Stability(value=Stable) static CfnBot.FulfillmentUpdatesSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.