code: public void setGrants(java.util.Collection<GrantListEntry> grants) {
          if (grants == null) {
              this.grants = null;
              return;
          }
  
          this.grants = new com.amazonaws.internal.SdkInternalList<GrantListEntry>(grants);
      }
docs: <p>
  A list of grants.
  </p>
  
  @param grants
  A list of grants.