Class HttpIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.HttpIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpIntegrationProps>
- Enclosing interface:
- HttpIntegrationProps
@Stability(Stable)
public static final class HttpIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<HttpIntegrationProps>
A builder for
HttpIntegrationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.httpMethod
(String httpMethod) Sets the value ofHttpIntegrationProps.getHttpMethod()
options
(IntegrationOptions options) Sets the value ofHttpIntegrationProps.getOptions()
Sets the value ofHttpIntegrationProps.getProxy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpMethod
Sets the value ofHttpIntegrationProps.getHttpMethod()
- Parameters:
httpMethod
- HTTP method to use when invoking the backend URL.- Returns:
this
-
options
Sets the value ofHttpIntegrationProps.getOptions()
- Parameters:
options
- Integration options, such as request/resopnse mapping, content handling, etc.- Returns:
this
-
proxy
Sets the value ofHttpIntegrationProps.getProxy()
- Parameters:
proxy
- Determines whether to use proxy integration or custom integration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpIntegrationProps>
- Returns:
- a new instance of
HttpIntegrationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-