code: public ListRetirableGrantsResult withGrants(GrantListEntry... grants) {
          if (this.grants == null) {
              setGrants(new com.ibm.cloud.objectstorage.internal.SdkInternalList<GrantListEntry>(grants.length));
          }
          for (GrantListEntry ele : grants) {
              this.grants.add(ele);
          }
          return this;
      }
docs: <p>
  A list of grants.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setGrants(java.util.Collection)} or {@link #withGrants(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param grants
  A list of grants.
  @return Returns a reference to this object so that method calls can be chained together.