Interface Function.Builder

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

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

    • functionArn

      Function.Builder functionArn(String functionArn)
      The ARN of the Lambda function.
      Parameters:
      functionArn - The ARN of the Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • functionConfiguration

      Function.Builder functionConfiguration(FunctionConfiguration functionConfiguration)
      The configuration of the Lambda function.
      Parameters:
      functionConfiguration - The configuration of the Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • functionConfiguration

      default Function.Builder functionConfiguration(Consumer<FunctionConfiguration.Builder> functionConfiguration)
      The configuration of the Lambda function. This is a convenience method that creates an instance of the FunctionConfiguration.Builder avoiding the need to create one manually via FunctionConfiguration.builder().

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

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

      A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
      Parameters:
      id - A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
      Returns:
      Returns a reference to this object so that method calls can be chained together.