@Stability(value=Experimental) public static final class WebSocketRouteOptions.Builder extends Object implements software.amazon.jsii.Builder<WebSocketRouteOptions>
WebSocketRouteOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
WebSocketRouteOptions.Builder |
authorizer(IWebSocketRouteAuthorizer authorizer)
Sets the value of
WebSocketRouteOptions.getAuthorizer() |
WebSocketRouteOptions |
build()
Builds the configured instance.
|
WebSocketRouteOptions.Builder |
integration(WebSocketRouteIntegration integration)
Sets the value of
WebSocketRouteOptions.getIntegration() |
@Stability(value=Experimental) public WebSocketRouteOptions.Builder integration(WebSocketRouteIntegration integration)
WebSocketRouteOptions.getIntegration()integration - The integration to be configured on this route. This parameter is required.this@Stability(value=Experimental) public WebSocketRouteOptions.Builder authorizer(IWebSocketRouteAuthorizer authorizer)
WebSocketRouteOptions.getAuthorizer()authorizer - The authorize to this route.
You can only set authorizer to a $connect route.this@Stability(value=Experimental) public WebSocketRouteOptions build()
build in interface software.amazon.jsii.Builder<WebSocketRouteOptions>WebSocketRouteOptionsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.