Interface FulfillmentActivity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FulfillmentActivity.Builder,,FulfillmentActivity> SdkBuilder<FulfillmentActivity.Builder,,FulfillmentActivity> SdkPojo
- Enclosing class:
FulfillmentActivity
public static interface FulfillmentActivity.Builder
extends SdkPojo, CopyableBuilder<FulfillmentActivity.Builder,FulfillmentActivity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FulfillmentActivity.BuildercodeHook(Consumer<CodeHook.Builder> codeHook) A description of the Lambda function that is run to fulfill the intent.A description of the Lambda function that is run to fulfill the intent.How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application.type(FulfillmentActivityType type) How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application.
- Parameters:
type- How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application.
- Parameters:
type- How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeHook
A description of the Lambda function that is run to fulfill the intent.
- Parameters:
codeHook- A description of the Lambda function that is run to fulfill the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeHook
A description of the Lambda function that is run to fulfill the intent.
This is a convenience method that creates an instance of theCodeHook.Builderavoiding the need to create one manually viaCodeHook.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeHook(CodeHook).- Parameters:
codeHook- a consumer that will call methods onCodeHook.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-