public static interface FulfillmentActivity.Builder extends CopyableBuilder<FulfillmentActivity.Builder,FulfillmentActivity>
Modifier and Type | Method and Description |
---|---|
FulfillmentActivity.Builder |
codeHook(CodeHook codeHook)
A description of the Lambda function that is run to fulfill the intent.
|
default FulfillmentActivity.Builder |
codeHook(Consumer<CodeHook.Builder> codeHook)
A description of the Lambda function that is run to fulfill the intent.
|
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.
|
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.
|
copy
applyMutation, build
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.
type
- How the intent should be fulfilled, either by running a Lambda function or by returning the slot data
to the client application.FulfillmentActivityType
,
FulfillmentActivityType
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.
type
- How the intent should be fulfilled, either by running a Lambda function or by returning the slot data
to the client application.FulfillmentActivityType
,
FulfillmentActivityType
FulfillmentActivity.Builder codeHook(CodeHook codeHook)
A description of the Lambda function that is run to fulfill the intent.
codeHook
- A description of the Lambda function that is run to fulfill the intent.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 that creates an instance of theCodeHook.Builder
avoiding the need to create
one manually via CodeHook.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to codeHook(CodeHook)
.codeHook
- a consumer that will call methods on CodeHook.Builder
codeHook(CodeHook)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.