Interface FulfillmentCodeHookSettings.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<FulfillmentCodeHookSettings.Builder,,- FulfillmentCodeHookSettings> - SdkBuilder<FulfillmentCodeHookSettings.Builder,,- FulfillmentCodeHookSettings> - SdkPojo
- Enclosing class:
- FulfillmentCodeHookSettings
- 
Method SummaryModifier and TypeMethodDescriptionDetermines whether the fulfillment code hook is used.Indicates whether a Lambda function should be invoked to fulfill a specific intent.fulfillmentUpdatesSpecification(Consumer<FulfillmentUpdatesSpecification.Builder> fulfillmentUpdatesSpecification) Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.fulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification fulfillmentUpdatesSpecification) Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.postFulfillmentStatusSpecification(Consumer<PostFulfillmentStatusSpecification.Builder> postFulfillmentStatusSpecification) Provides settings for messages sent to the user for after the Lambda fulfillment function completes.postFulfillmentStatusSpecification(PostFulfillmentStatusSpecification postFulfillmentStatusSpecification) Provides settings for messages sent to the user for after the Lambda fulfillment function completes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
enabledIndicates whether a Lambda function should be invoked to fulfill a specific intent. - Parameters:
- enabled- Indicates whether a Lambda function should be invoked to fulfill a specific intent.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
postFulfillmentStatusSpecificationFulfillmentCodeHookSettings.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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
postFulfillmentStatusSpecificationdefault 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.Builderavoiding the need to create one manually viaPostFulfillmentStatusSpecification.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostFulfillmentStatusSpecification(PostFulfillmentStatusSpecification).- Parameters:
- postFulfillmentStatusSpecification- a consumer that will call methods on- PostFulfillmentStatusSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fulfillmentUpdatesSpecificationFulfillmentCodeHookSettings.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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fulfillmentUpdatesSpecificationdefault 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.Builderavoiding the need to create one manually viaFulfillmentUpdatesSpecification.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification).- Parameters:
- fulfillmentUpdatesSpecification- a consumer that will call methods on- FulfillmentUpdatesSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
activeDetermines whether the fulfillment code hook is used. When activeis false, the code hook doesn't run.- Parameters:
- active- Determines whether the fulfillment code hook is used. When- activeis false, the code hook doesn't run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-