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