Class HttpIntegration.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.HttpIntegration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpIntegration>
- Enclosing class:
- HttpIntegration
@Stability(Stable)
public static final class HttpIntegration.Builder
extends Object
implements software.amazon.jsii.Builder<HttpIntegration>
A fluent builder for
HttpIntegration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static HttpIntegration.Builder
httpMethod
(String httpMethod) HTTP method to use when invoking the backend URL.options
(IntegrationOptions options) Integration options, such as request/resopnse mapping, content handling, etc.Determines whether to use proxy integration or custom integration.
-
Method Details
-
create
- Parameters:
url
- This parameter is required.- Returns:
- a new instance of
HttpIntegration.Builder
.
-
httpMethod
HTTP method to use when invoking the backend URL.Default: GET
- Parameters:
httpMethod
- HTTP method to use when invoking the backend URL. This parameter is required.- Returns:
this
-
options
Integration options, such as request/resopnse mapping, content handling, etc.Default: defaults based on `IntegrationOptions` defaults
- Parameters:
options
- Integration options, such as request/resopnse mapping, content handling, etc. This parameter is required.- Returns:
this
-
proxy
Determines whether to use proxy integration or custom integration.Default: true
- Parameters:
proxy
- Determines whether to use proxy integration or custom integration. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpIntegration>
- Returns:
- a newly built instance of
HttpIntegration
.
-