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