code: public ListResourceDelegatesResult withDelegates(Delegate... delegates) {
          if (this.delegates == null) {
              setDelegates(new java.util.ArrayList<Delegate>(delegates.length));
          }
          for (Delegate ele : delegates) {
              this.delegates.add(ele);
          }
          return this;
      }
docs: <p>
  One page of the resource's delegates.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDelegates(java.util.Collection)} or {@link #withDelegates(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param delegates
  One page of the resource's delegates.
  @return Returns a reference to this object so that method calls can be chained together.