Interface PipeEnrichmentParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PipeEnrichmentParameters.Builder,
,PipeEnrichmentParameters> SdkBuilder<PipeEnrichmentParameters.Builder,
,PipeEnrichmentParameters> SdkPojo
- Enclosing class:
PipeEnrichmentParameters
-
Method Summary
Modifier and TypeMethodDescriptiondefault PipeEnrichmentParameters.Builder
httpParameters
(Consumer<PipeEnrichmentHttpParameters.Builder> httpParameters) Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.httpParameters
(PipeEnrichmentHttpParameters httpParameters) Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination.inputTemplate
(String inputTemplate) Valid JSON text passed to the enrichment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
default PipeEnrichmentParameters.Builder httpParameters(Consumer<PipeEnrichmentHttpParameters.Builder> 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 thePipeEnrichmentHttpParameters.Builder
avoiding the need to create one manually viaPipeEnrichmentHttpParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttpParameters(PipeEnrichmentHttpParameters)
.- Parameters:
httpParameters
- a consumer that will call methods onPipeEnrichmentHttpParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-