code: public void setAllowedOAuthScopes(java.util.Collection<String> allowedOAuthScopes) {
          if (allowedOAuthScopes == null) {
              this.allowedOAuthScopes = null;
              return;
          }
  
          this.allowedOAuthScopes = new java.util.ArrayList<String>(allowedOAuthScopes);
      }
docs: <p>
  A list of allowed <code>OAuth</code> scopes. Currently supported values are <code>"phone"</code>,
  <code>"email"</code>, <code>"openid"</code>, and <code>"Cognito"</code>.
  </p>
  
  @param allowedOAuthScopes
  A list of allowed <code>OAuth</code> scopes. Currently supported values are <code>"phone"</code>,
  <code>"email"</code>, <code>"openid"</code>, and <code>"Cognito"</code>.