code: public CreateResourceServerRequest withScopes(ResourceServerScopeType... scopes) {
          if (this.scopes == null) {
              setScopes(new java.util.ArrayList<ResourceServerScopeType>(scopes.length));
          }
          for (ResourceServerScopeType ele : scopes) {
              this.scopes.add(ele);
          }
          return this;
      }
docs: <p>
  A list of scopes. Each scope is map, where the keys are <code>name</code> and <code>description</code>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setScopes(java.util.Collection)} or {@link #withScopes(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param scopes
  A list of scopes. Each scope is map, where the keys are <code>name</code> and <code>description</code>.
  @return Returns a reference to this object so that method calls can be chained together.