code: public void setEntitlements(java.util.Collection<GrantEntitlementRequest> entitlements) {
          if (entitlements == null) {
              this.entitlements = null;
              return;
          }
  
          this.entitlements = new java.util.ArrayList<GrantEntitlementRequest>(entitlements);
      }
docs: The list of entitlements that you want to grant.
  
  @param entitlements
  The list of entitlements that you want to grant.