public void setAuthorizationScopes(java.util.Collection<String> authorizationScopes) {
        if (authorizationScopes == null) {
            this.authorizationScopes = null;
            return;
        }

        this.authorizationScopes = new java.util.ArrayList<String>(authorizationScopes);
    }
<p>
A list of authorization scopes configured on the method. The scopes are used with a
<code>COGNITO_USER_POOLS</code> authorizer to authorize the method invocation. The authorization works by
matching the method scopes against the scopes parsed from the access token in the incoming request. The method
invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the
invocation is not authorized. When the method 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 the method. The scopes are used with a
       <code>COGNITO_USER_POOLS</code> authorizer to authorize the method invocation. The authorization works by
       matching the method scopes against the scopes parsed from the access token in the incoming request. The
       method invocation is authorized if any method scopes matches a claimed scope in the access token.
       Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide
       an access token instead of an identity token for authorization purposes.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/GetMethodResult.java