@Stability(value=Experimental) public static final class HttpRouteProps.Builder extends Object implements software.amazon.jsii.Builder<HttpRouteProps>
HttpRouteProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HttpRouteProps.Builder |
authorizationScopes(List<String> authorizationScopes)
Sets the value of
HttpRouteProps.getAuthorizationScopes() |
HttpRouteProps.Builder |
authorizer(IHttpRouteAuthorizer authorizer)
Sets the value of
HttpRouteProps.getAuthorizer() |
HttpRouteProps |
build()
Builds the configured instance.
|
HttpRouteProps.Builder |
httpApi(IHttpApi httpApi)
Sets the value of
HttpRouteProps.getHttpApi() |
HttpRouteProps.Builder |
integration(IHttpRouteIntegration integration)
Sets the value of
BatchHttpRouteOptions.getIntegration() |
HttpRouteProps.Builder |
routeKey(HttpRouteKey routeKey)
Sets the value of
HttpRouteProps.getRouteKey() |
@Stability(value=Experimental) public HttpRouteProps.Builder httpApi(IHttpApi httpApi)
HttpRouteProps.getHttpApi()httpApi - the API the route is associated with. This parameter is required.this@Stability(value=Experimental) public HttpRouteProps.Builder routeKey(HttpRouteKey routeKey)
HttpRouteProps.getRouteKey()routeKey - The key to this route. This parameter is required.
This is a combination of an HTTP method and an HTTP path.this@Stability(value=Experimental) public HttpRouteProps.Builder authorizationScopes(List<String> authorizationScopes)
HttpRouteProps.getAuthorizationScopes()authorizationScopes - The list of OIDC scopes to include in the authorization.
These scopes will be merged with the scopes from the attached authorizerthis@Stability(value=Experimental) public HttpRouteProps.Builder authorizer(IHttpRouteAuthorizer authorizer)
HttpRouteProps.getAuthorizer()authorizer - Authorizer for a WebSocket API or an HTTP API.this@Stability(value=Experimental) public HttpRouteProps.Builder integration(IHttpRouteIntegration integration)
BatchHttpRouteOptions.getIntegration()integration - The integration to be configured on this route. This parameter is required.this@Stability(value=Experimental) public HttpRouteProps build()
build in interface software.amazon.jsii.Builder<HttpRouteProps>HttpRoutePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.