public Route withAuthorizationScopes(java.util.Collection<String> authorizationScopes) {
        setAuthorizationScopes(authorizationScopes);
        return this;
    }
<p>
A list of authorization scopes configured on a route. The scopes are used with a JWT authorizer to authorize the
method invocation. The authorization works by matching the route scopes against the scopes parsed from the access
token in the incoming request. The method invocation is authorized if any route scope matches a claimed scope in
the access token. Otherwise, the invocation is not authorized. When the route scope is configured, the client
must provide an access token instead of an identity token for authorization purposes.
</p>

@param authorizationScopes
       A list of authorization scopes configured on a route. The scopes are used with a JWT authorizer to
       authorize the method invocation. The authorization works by matching the route scopes against the scopes
       parsed from the access token in the incoming request. The method invocation is authorized if any route
       scope matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the
       route scope is configured, the client must provide an access token instead of an identity token for
       authorization purposes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/Route.java