code: public CreateRouteResult withAuthorizationScopes(String... authorizationScopes) {
          if (this.authorizationScopes == null) {
              setAuthorizationScopes(new java.util.ArrayList<String>(authorizationScopes.length));
          }
          for (String ele : authorizationScopes) {
              this.authorizationScopes.add(ele);
          }
          return this;
      }
docs: <p>
  A list of authorization scopes configured on a route. The scopes are used with a COGNITO_USER_POOLS 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>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAuthorizationScopes(java.util.Collection)} or {@link #withAuthorizationScopes(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param authorizationScopes
  A list of authorization scopes configured on a route. The scopes are used with a COGNITO_USER_POOLS
  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.