Class HttpRouteAuthorizerBindOptions.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.HttpRouteAuthorizerBindOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpRouteAuthorizerBindOptions>
- Enclosing interface:
HttpRouteAuthorizerBindOptions
@Stability(Stable)
public static final class HttpRouteAuthorizerBindOptions.Builder
extends Object
implements software.amazon.jsii.Builder<HttpRouteAuthorizerBindOptions>
A builder for
HttpRouteAuthorizerBindOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.route
(IHttpRoute route) Sets the value ofHttpRouteAuthorizerBindOptions.getRoute()
scope
(software.constructs.Construct scope) Sets the value ofHttpRouteAuthorizerBindOptions.getScope()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
route
Sets the value ofHttpRouteAuthorizerBindOptions.getRoute()
- Parameters:
route
- The route to which the authorizer is being bound. This parameter is required.- Returns:
this
-
scope
@Stability(Stable) public HttpRouteAuthorizerBindOptions.Builder scope(software.constructs.Construct scope) Sets the value ofHttpRouteAuthorizerBindOptions.getScope()
- Parameters:
scope
- The scope for any constructs created as part of the bind. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpRouteAuthorizerBindOptions>
- Returns:
- a new instance of
HttpRouteAuthorizerBindOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-