Class HttpUrlIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.aws_apigatewayv2_integrations.HttpUrlIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpUrlIntegrationProps>
- Enclosing interface:
HttpUrlIntegrationProps
@Stability(Stable)
public static final class HttpUrlIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<HttpUrlIntegrationProps>
A builder for
HttpUrlIntegrationProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.method
(HttpMethod method) Sets the value ofHttpUrlIntegrationProps.getMethod()
parameterMapping
(ParameterMapping parameterMapping) Sets the value ofHttpUrlIntegrationProps.getParameterMapping()
Sets the value ofHttpUrlIntegrationProps.getTimeout()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
method
Sets the value ofHttpUrlIntegrationProps.getMethod()
- Parameters:
method
- The HTTP method that must be used to invoke the underlying HTTP proxy.- Returns:
this
-
parameterMapping
@Stability(Stable) public HttpUrlIntegrationProps.Builder parameterMapping(ParameterMapping parameterMapping) Sets the value ofHttpUrlIntegrationProps.getParameterMapping()
- Parameters:
parameterMapping
- Specifies how to transform HTTP requests before sending them to the backend.- Returns:
this
-
timeout
Sets the value ofHttpUrlIntegrationProps.getTimeout()
- Parameters:
timeout
- The maximum amount of time an integration will run before it returns without a response. Must be between 50 milliseconds and 29 seconds.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpUrlIntegrationProps>
- Returns:
- a new instance of
HttpUrlIntegrationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-