Class HttpLambdaIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.integrations.HttpLambdaIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpLambdaIntegrationProps>
- Enclosing interface:
- HttpLambdaIntegrationProps
@Stability(Experimental)
public static final class HttpLambdaIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<HttpLambdaIntegrationProps>
A builder for
HttpLambdaIntegrationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.parameterMapping
(ParameterMapping parameterMapping) Sets the value ofHttpLambdaIntegrationProps.getParameterMapping()
payloadFormatVersion
(PayloadFormatVersion payloadFormatVersion) Sets the value ofHttpLambdaIntegrationProps.getPayloadFormatVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parameterMapping
@Stability(Experimental) public HttpLambdaIntegrationProps.Builder parameterMapping(ParameterMapping parameterMapping) Sets the value ofHttpLambdaIntegrationProps.getParameterMapping()
- Parameters:
parameterMapping
- Specifies how to transform HTTP requests before sending them to the backend.- Returns:
this
-
payloadFormatVersion
@Stability(Experimental) public HttpLambdaIntegrationProps.Builder payloadFormatVersion(PayloadFormatVersion payloadFormatVersion) Sets the value ofHttpLambdaIntegrationProps.getPayloadFormatVersion()
- Parameters:
payloadFormatVersion
- Version of the payload sent to the lambda handler.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpLambdaIntegrationProps>
- Returns:
- a new instance of
HttpLambdaIntegrationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-