Interface Function.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Function.Builder,Function>, SdkBuilder<Function.Builder,Function>, SdkPojo
Enclosing class:
Function

@Mutable @NotThreadSafe public static interface Function.Builder extends SdkPojo, CopyableBuilder<Function.Builder,Function>
  • Method Details

    • description

      Function.Builder description(String description)

      A description of the function and its purpose.

      Parameters:
      description - A description of the function and its purpose.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A name for the function.

      Parameters:
      name - A name for the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      Function.Builder parameters(Map<String,ParameterDetail> parameters)

      The parameters that the agent elicits from the user to fulfill the function.

      Parameters:
      parameters - The parameters that the agent elicits from the user to fulfill the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requireConfirmation

      Function.Builder requireConfirmation(String requireConfirmation)

      Contains information if user confirmation is required to invoke the function.

      Parameters:
      requireConfirmation - Contains information if user confirmation is required to invoke the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requireConfirmation

      Function.Builder requireConfirmation(RequireConfirmation requireConfirmation)

      Contains information if user confirmation is required to invoke the function.

      Parameters:
      requireConfirmation - Contains information if user confirmation is required to invoke the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: