@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 |
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 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 © 2020. All rights reserved.