Interface FunctionResponse.Builder

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

public static interface FunctionResponse.Builder extends SdkPojo, CopyableBuilder<FunctionResponse.Builder,FunctionResponse>
  • Method Details

    • requiredProperties

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

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

      FunctionResponse.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 FunctionResponse.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:
    • isInherited

      FunctionResponse.Builder isInherited(Boolean isInherited)

      Indicates whether this function is inherited.

      Parameters:
      isInherited - Indicates whether this function is inherited.
      Returns:
      Returns a reference to this object so that method calls can be chained together.