@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.Builder |
apiKeyRequired(Boolean apiKeyRequired)
Sets the value of
WebSocketRouteProps.getApiKeyRequired() |
WebSocketRouteProps.Builder |
authorizer(IWebSocketRouteAuthorizer authorizer)
Sets the value of
WebSocketRouteOptions.getAuthorizer() |
WebSocketRouteProps |
build()
Builds the configured instance.
|
WebSocketRouteProps.Builder |
integration(WebSocketRouteIntegration 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 apiKeyRequired(Boolean apiKeyRequired)
WebSocketRouteProps.getApiKeyRequired()apiKeyRequired - Whether the route requires an API Key to be provided.this@Stability(value=Experimental) public WebSocketRouteProps.Builder integration(WebSocketRouteIntegration integration)
WebSocketRouteOptions.getIntegration()integration - The integration to be configured on this route. This parameter is required.this@Stability(value=Experimental) public WebSocketRouteProps.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 WebSocketRouteProps build()
build in interface software.amazon.jsii.Builder<WebSocketRouteProps>WebSocketRoutePropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.