code: public UserPoolClientType withAllowedOAuthScopes(String... allowedOAuthScopes) {
          if (this.allowedOAuthScopes == null) {
              setAllowedOAuthScopes(new java.util.ArrayList<String>(allowedOAuthScopes.length));
          }
          for (String ele : allowedOAuthScopes) {
              this.allowedOAuthScopes.add(ele);
          }
          return this;
      }
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>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAllowedOAuthScopes(java.util.Collection)} or {@link #withAllowedOAuthScopes(java.util.Collection)} if
  you want to override the existing values.
  </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>.
  @return Returns a reference to this object so that method calls can be chained together.