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