Interface FulfillmentActivity.Builder

    • 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.