Class CfnPipe.PipeTargetHttpParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetHttpParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.PipeTargetHttpParametersProperty>
- Enclosing interface:
CfnPipe.PipeTargetHttpParametersProperty
@Stability(Stable)
public static final class CfnPipe.PipeTargetHttpParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.PipeTargetHttpParametersProperty>
A builder for
CfnPipe.PipeTargetHttpParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.headerParameters
(Map<String, String> headerParameters) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getHeaderParameters()
headerParameters
(IResolvable headerParameters) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getHeaderParameters()
pathParameterValues
(List<String> pathParameterValues) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getPathParameterValues()
queryStringParameters
(Map<String, String> queryStringParameters) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getQueryStringParameters()
queryStringParameters
(IResolvable queryStringParameters) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getQueryStringParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
headerParameters
@Stability(Stable) public CfnPipe.PipeTargetHttpParametersProperty.Builder headerParameters(IResolvable headerParameters) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getHeaderParameters()
- Parameters:
headerParameters
- The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.- Returns:
this
-
headerParameters
@Stability(Stable) public CfnPipe.PipeTargetHttpParametersProperty.Builder headerParameters(Map<String, String> headerParameters) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getHeaderParameters()
- Parameters:
headerParameters
- The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.- Returns:
this
-
pathParameterValues
@Stability(Stable) public CfnPipe.PipeTargetHttpParametersProperty.Builder pathParameterValues(List<String> pathParameterValues) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getPathParameterValues()
- Parameters:
pathParameterValues
- The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*").- Returns:
this
-
queryStringParameters
@Stability(Stable) public CfnPipe.PipeTargetHttpParametersProperty.Builder queryStringParameters(IResolvable queryStringParameters) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getQueryStringParameters()
- Parameters:
queryStringParameters
- The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.- Returns:
this
-
queryStringParameters
@Stability(Stable) public CfnPipe.PipeTargetHttpParametersProperty.Builder queryStringParameters(Map<String, String> queryStringParameters) Sets the value ofCfnPipe.PipeTargetHttpParametersProperty.getQueryStringParameters()
- Parameters:
queryStringParameters
- The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.PipeTargetHttpParametersProperty>
- Returns:
- a new instance of
CfnPipe.PipeTargetHttpParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-