public static interface FulfillmentCodeHookSettings.Builder extends SdkPojo, CopyableBuilder<FulfillmentCodeHookSettings.Builder,FulfillmentCodeHookSettings>
| Modifier and Type | Method and Description |
|---|---|
FulfillmentCodeHookSettings.Builder |
active(Boolean active)
Determines whether the fulfillment code hook is used.
|
FulfillmentCodeHookSettings.Builder |
enabled(Boolean enabled)
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
|
default FulfillmentCodeHookSettings.Builder |
fulfillmentUpdatesSpecification(Consumer<FulfillmentUpdatesSpecification.Builder> fulfillmentUpdatesSpecification)
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
|
FulfillmentCodeHookSettings.Builder |
fulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification fulfillmentUpdatesSpecification)
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
|
default FulfillmentCodeHookSettings.Builder |
postFulfillmentStatusSpecification(Consumer<PostFulfillmentStatusSpecification.Builder> postFulfillmentStatusSpecification)
Provides settings for messages sent to the user for after the Lambda fulfillment function completes.
|
FulfillmentCodeHookSettings.Builder |
postFulfillmentStatusSpecification(PostFulfillmentStatusSpecification postFulfillmentStatusSpecification)
Provides settings for messages sent to the user for after the Lambda fulfillment function completes.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFulfillmentCodeHookSettings.Builder enabled(Boolean enabled)
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
enabled - Indicates whether a Lambda function should be invoked to fulfill a specific intent.FulfillmentCodeHookSettings.Builder postFulfillmentStatusSpecification(PostFulfillmentStatusSpecification postFulfillmentStatusSpecification)
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
postFulfillmentStatusSpecification - Provides settings for messages sent to the user for after the Lambda fulfillment function completes.
Post-fulfillment messages can be sent for both streaming and non-streaming conversations.default FulfillmentCodeHookSettings.Builder postFulfillmentStatusSpecification(Consumer<PostFulfillmentStatusSpecification.Builder> postFulfillmentStatusSpecification)
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
This is a convenience method that creates an instance of thePostFulfillmentStatusSpecification.Builder avoiding the need to create one manually via
PostFulfillmentStatusSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
postFulfillmentStatusSpecification(PostFulfillmentStatusSpecification).
postFulfillmentStatusSpecification - a consumer that will call methods on PostFulfillmentStatusSpecification.BuilderpostFulfillmentStatusSpecification(PostFulfillmentStatusSpecification)FulfillmentCodeHookSettings.Builder fulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification fulfillmentUpdatesSpecification)
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
fulfillmentUpdatesSpecification - Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
Fulfillment updates can be used only with streaming conversations.default FulfillmentCodeHookSettings.Builder fulfillmentUpdatesSpecification(Consumer<FulfillmentUpdatesSpecification.Builder> fulfillmentUpdatesSpecification)
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
This is a convenience method that creates an instance of theFulfillmentUpdatesSpecification.Builder
avoiding the need to create one manually via FulfillmentUpdatesSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
fulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification).
fulfillmentUpdatesSpecification - a consumer that will call methods on FulfillmentUpdatesSpecification.BuilderfulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification)FulfillmentCodeHookSettings.Builder active(Boolean active)
Determines whether the fulfillment code hook is used. When active is false, the code hook
doesn't run.
active - Determines whether the fulfillment code hook is used. When active is false, the code hook
doesn't run.Copyright © 2022. All rights reserved.