Class HttpUrlIntegration.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.integrations.HttpUrlIntegration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpUrlIntegration>
- Enclosing class:
- HttpUrlIntegration
@Stability(Experimental)
public static final class HttpUrlIntegration.Builder
extends Object
implements software.amazon.jsii.Builder<HttpUrlIntegration>
(experimental) A fluent builder for
HttpUrlIntegration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static HttpUrlIntegration.Builder
method
(HttpMethod method) (experimental) The HTTP method that must be used to invoke the underlying HTTP proxy.parameterMapping
(ParameterMapping parameterMapping) (experimental) Specifies how to transform HTTP requests before sending them to the backend.
-
Method Details
-
create
- Parameters:
id
- id of the underlying integration construct. This parameter is required.url
- the URL to proxy to. This parameter is required.- Returns:
- a new instance of
HttpUrlIntegration.Builder
.
-
method
(experimental) The HTTP method that must be used to invoke the underlying HTTP proxy.Default: HttpMethod.ANY
- Parameters:
method
- The HTTP method that must be used to invoke the underlying HTTP proxy. This parameter is required.- Returns:
this
-
parameterMapping
@Stability(Experimental) public HttpUrlIntegration.Builder parameterMapping(ParameterMapping parameterMapping) (experimental) Specifies how to transform HTTP requests before sending them to the backend.Default: undefined requests are sent to the backend unmodified
- Parameters:
parameterMapping
- Specifies how to transform HTTP requests before sending them to the backend. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpUrlIntegration>
- Returns:
- a newly built instance of
HttpUrlIntegration
.
-