Interface EndpointConfig.Builder

  • Method Details

    • lambda

      The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.

      Parameters:
      lambda - The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambda

      The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.

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

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

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