Class BatchHttpRouteOptions.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.BatchHttpRouteOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BatchHttpRouteOptions>
- Enclosing interface:
BatchHttpRouteOptions
@Stability(Stable)
public static final class BatchHttpRouteOptions.Builder
extends Object
implements software.amazon.jsii.Builder<BatchHttpRouteOptions>
A builder for
BatchHttpRouteOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.integration
(HttpRouteIntegration integration) Sets the value ofBatchHttpRouteOptions.getIntegration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
integration
@Stability(Stable) public BatchHttpRouteOptions.Builder integration(HttpRouteIntegration integration) Sets the value ofBatchHttpRouteOptions.getIntegration()
- Parameters:
integration
- The integration to be configured on this route. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BatchHttpRouteOptions>
- Returns:
- a new instance of
BatchHttpRouteOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-