Interface Integration.Builder

  • Method Details

    • dataSourceName

      Integration.Builder dataSourceName(String dataSourceName)

      The unique name of the data source that has been configured on the API.

      Parameters:
      dataSourceName - The unique name of the data source that has been configured on the API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambdaConfig

      Integration.Builder lambdaConfig(LambdaConfig lambdaConfig)

      The configuration for a Lambda data source.

      Parameters:
      lambdaConfig - The configuration for a Lambda data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lambdaConfig

      default Integration.Builder lambdaConfig(Consumer<LambdaConfig.Builder> lambdaConfig)

      The configuration for a Lambda data source.

      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 lambdaConfig(LambdaConfig).

      Parameters:
      lambdaConfig - 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: