Class HttpRouteIntegrationBindOptions.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegrationBindOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpRouteIntegrationBindOptions>
- Enclosing interface:
HttpRouteIntegrationBindOptions
@Stability(Stable)
public static final class HttpRouteIntegrationBindOptions.Builder
extends Object
implements software.amazon.jsii.Builder<HttpRouteIntegrationBindOptions>
A builder for
HttpRouteIntegrationBindOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.route
(IHttpRoute route) Sets the value ofHttpRouteIntegrationBindOptions.getRoute()
scope
(software.constructs.Construct scope) Sets the value ofHttpRouteIntegrationBindOptions.getScope()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
route
Sets the value ofHttpRouteIntegrationBindOptions.getRoute()
- Parameters:
route
- The route to which this is being bound. This parameter is required.- Returns:
this
-
scope
@Stability(Stable) public HttpRouteIntegrationBindOptions.Builder scope(software.constructs.Construct scope) Sets the value ofHttpRouteIntegrationBindOptions.getScope()
- Parameters:
scope
- The current scope in which the bind is occurring. This parameter is required. If theHttpRouteIntegration
being bound creates additional constructs, this will be used as their parent scope.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpRouteIntegrationBindOptions>
- Returns:
- a new instance of
HttpRouteIntegrationBindOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-