@Stability(value=Experimental) public static final class WebSocketAuthorizerProps.Builder extends Object implements software.amazon.jsii.Builder<WebSocketAuthorizerProps>
WebSocketAuthorizerProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
WebSocketAuthorizerProps.Builder |
authorizerName(String authorizerName)
Sets the value of
WebSocketAuthorizerProps.getAuthorizerName() |
WebSocketAuthorizerProps.Builder |
authorizerUri(String authorizerUri)
Sets the value of
WebSocketAuthorizerProps.getAuthorizerUri() |
WebSocketAuthorizerProps |
build()
Builds the configured instance.
|
WebSocketAuthorizerProps.Builder |
identitySource(List<String> identitySource)
Sets the value of
WebSocketAuthorizerProps.getIdentitySource() |
WebSocketAuthorizerProps.Builder |
type(WebSocketAuthorizerType type)
Sets the value of
WebSocketAuthorizerProps.getType() |
WebSocketAuthorizerProps.Builder |
webSocketApi(IWebSocketApi webSocketApi)
Sets the value of
WebSocketAuthorizerProps.getWebSocketApi() |
@Stability(value=Experimental) public WebSocketAuthorizerProps.Builder identitySource(List<String> identitySource)
WebSocketAuthorizerProps.getIdentitySource()identitySource - The identity source for which authorization is requested. This parameter is required.this@Stability(value=Experimental) public WebSocketAuthorizerProps.Builder type(WebSocketAuthorizerType type)
WebSocketAuthorizerProps.getType()type - The type of authorizer. This parameter is required.this@Stability(value=Experimental) public WebSocketAuthorizerProps.Builder webSocketApi(IWebSocketApi webSocketApi)
WebSocketAuthorizerProps.getWebSocketApi()webSocketApi - WebSocket Api to attach the authorizer to. This parameter is required.this@Stability(value=Experimental) public WebSocketAuthorizerProps.Builder authorizerName(String authorizerName)
WebSocketAuthorizerProps.getAuthorizerName()authorizerName - Name of the authorizer.this@Stability(value=Experimental) public WebSocketAuthorizerProps.Builder authorizerUri(String authorizerUri)
WebSocketAuthorizerProps.getAuthorizerUri()authorizerUri - The authorizer's Uniform Resource Identifier (URI).
For REQUEST authorizers, this must be a well-formed Lambda function URI.this@Stability(value=Experimental) public WebSocketAuthorizerProps build()
build in interface software.amazon.jsii.Builder<WebSocketAuthorizerProps>WebSocketAuthorizerPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.