Interface FunctionRequest.Builder

  • Method Details

    • requiredProperties

      FunctionRequest.Builder requiredProperties(Collection<String> requiredProperties)

      The required properties of the function.

      Parameters:
      requiredProperties - The required properties of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requiredProperties

      FunctionRequest.Builder requiredProperties(String... requiredProperties)

      The required properties of the function.

      Parameters:
      requiredProperties - The required properties of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      The scope of the function.

      Parameters:
      scope - The scope of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      The scope of the function.

      Parameters:
      scope - The scope of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • implementedBy

      FunctionRequest.Builder implementedBy(DataConnector implementedBy)

      The data connector.

      Parameters:
      implementedBy - The data connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • implementedBy

      default FunctionRequest.Builder implementedBy(Consumer<DataConnector.Builder> implementedBy)

      The data connector.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to implementedBy(DataConnector).

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