Class CfnPipe.PipeEnrichmentParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.PipeEnrichmentParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.PipeEnrichmentParametersProperty>
- Enclosing interface:
CfnPipe.PipeEnrichmentParametersProperty
@Stability(Stable)
public static final class CfnPipe.PipeEnrichmentParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.PipeEnrichmentParametersProperty>
A builder for
CfnPipe.PipeEnrichmentParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.httpParameters
(IResolvable httpParameters) Sets the value ofCfnPipe.PipeEnrichmentParametersProperty.getHttpParameters()
httpParameters
(CfnPipe.PipeEnrichmentHttpParametersProperty httpParameters) Sets the value ofCfnPipe.PipeEnrichmentParametersProperty.getHttpParameters()
inputTemplate
(String inputTemplate) Sets the value ofCfnPipe.PipeEnrichmentParametersProperty.getInputTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpParameters
@Stability(Stable) public CfnPipe.PipeEnrichmentParametersProperty.Builder httpParameters(IResolvable httpParameters) Sets the value ofCfnPipe.PipeEnrichmentParametersProperty.getHttpParameters()
- 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:
this
-
httpParameters
@Stability(Stable) public CfnPipe.PipeEnrichmentParametersProperty.Builder httpParameters(CfnPipe.PipeEnrichmentHttpParametersProperty httpParameters) Sets the value ofCfnPipe.PipeEnrichmentParametersProperty.getHttpParameters()
- 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:
this
-
inputTemplate
@Stability(Stable) public CfnPipe.PipeEnrichmentParametersProperty.Builder inputTemplate(String inputTemplate) Sets the value ofCfnPipe.PipeEnrichmentParametersProperty.getInputTemplate()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.PipeEnrichmentParametersProperty>
- Returns:
- a new instance of
CfnPipe.PipeEnrichmentParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-