Interface CfnBot.FulfillmentUpdatesSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.FulfillmentUpdatesSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.FulfillmentUpdatesSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Provides information for updating the user on the progress of fulfilling an intent.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.FulfillmentUpdatesSpecificationPropertystatic final classAn implementation forCfnBot.FulfillmentUpdatesSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Determines whether fulfillment updates are sent to the user.default ObjectProvides configuration information for the message sent to users when the fulfillment Lambda functions starts running.default NumberThe length of time that the fulfillment Lambda function should run before it times out.default ObjectProvides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActive
Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.If the
activefield is set to true, thestartResponse,updateResponse, andtimeoutInSecondsfields are required.- See Also:
-
getStartResponse
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.- See Also:
-
getTimeoutInSeconds
The length of time that the fulfillment Lambda function should run before it times out.- See Also:
-
getUpdateResponse
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.- See Also:
-
builder
-