Interface FunctionSchema.Builder

    • Method Detail

      • functions

        FunctionSchema.Builder functions​(Collection<Function> functions)

        A list of functions that each define an action in the action group.

        Parameters:
        functions - A list of functions that each define an action in the action group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • functions

        FunctionSchema.Builder functions​(Function... functions)

        A list of functions that each define an action in the action group.

        Parameters:
        functions - A list of functions that each define an action in the action group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • functions

        FunctionSchema.Builder functions​(Consumer<Function.Builder>... functions)

        A list of functions that each define an action in the action group.

        This is a convenience method that creates an instance of the Function.Builder avoiding the need to create one manually via Function.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #functions(List).

        Parameters:
        functions - a consumer that will call methods on Function.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #functions(java.util.Collection)