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 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 the CodeHook.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).

      Parameters:
      codeHook - a consumer that will call methods on CodeHook.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: