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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FulfillmentActivity.BuildercodeHook(Consumer<CodeHook.Builder> codeHook)A description of the Lambda function that is run to fulfill the intent.FulfillmentActivity.BuildercodeHook(CodeHook codeHook)A description of the Lambda function that is run to fulfill the intent.FulfillmentActivity.Buildertype(String type)How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application.FulfillmentActivity.Buildertype(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
FulfillmentActivity.Builder type(String 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:
FulfillmentActivityType,FulfillmentActivityType
-
type
FulfillmentActivity.Builder 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.
- 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:
FulfillmentActivityType,FulfillmentActivityType
-
codeHook
FulfillmentActivity.Builder codeHook(CodeHook 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
default FulfillmentActivity.Builder codeHook(Consumer<CodeHook.Builder> 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:
codeHook(CodeHook)
-
-