Interface PipeEnrichmentParameters.Builder

  • Method Details

    • inputTemplate

      PipeEnrichmentParameters.Builder inputTemplate(String inputTemplate)

      Valid JSON text passed to the enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.

      To remove an input template, specify an empty string.

      Parameters:
      inputTemplate - Valid JSON text passed to the enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.

      To remove an input template, specify an empty string.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpParameters

      Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.

      If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.

      Parameters:
      httpParameters - Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.

      If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpParameters

      Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.

      If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.

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

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

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