@Stability(value=Experimental) public static final class WebSocketRouteProps.Builder extends Object implements software.amazon.jsii.Builder<WebSocketRouteProps>
WebSocketRouteProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
WebSocketRouteProps |
build()
Builds the configured instance.
|
WebSocketRouteProps.Builder |
integration(IWebSocketRouteIntegration integration)
Sets the value of
WebSocketRouteOptions.getIntegration() |
WebSocketRouteProps.Builder |
routeKey(String routeKey)
Sets the value of
WebSocketRouteProps.getRouteKey() |
WebSocketRouteProps.Builder |
webSocketApi(IWebSocketApi webSocketApi)
Sets the value of
WebSocketRouteProps.getWebSocketApi() |
@Stability(value=Experimental) public WebSocketRouteProps.Builder routeKey(String routeKey)
WebSocketRouteProps.getRouteKey()routeKey - The key to this route. This parameter is required.this@Stability(value=Experimental) public WebSocketRouteProps.Builder webSocketApi(IWebSocketApi webSocketApi)
WebSocketRouteProps.getWebSocketApi()webSocketApi - the API the route is associated with. This parameter is required.this@Stability(value=Experimental) public WebSocketRouteProps.Builder integration(IWebSocketRouteIntegration integration)
WebSocketRouteOptions.getIntegration()integration - The integration to be configured on this route. This parameter is required.this@Stability(value=Experimental) public WebSocketRouteProps build()
build in interface software.amazon.jsii.Builder<WebSocketRouteProps>WebSocketRoutePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.