code: public void setPoliciesGrantingServiceAccess(java.util.Collection<ListPoliciesGrantingServiceAccessEntry> policiesGrantingServiceAccess) {
          if (policiesGrantingServiceAccess == null) {
              this.policiesGrantingServiceAccess = null;
              return;
          }
  
          this.policiesGrantingServiceAccess = new com.amazonaws.internal.SdkInternalList<ListPoliciesGrantingServiceAccessEntry>(policiesGrantingServiceAccess);
      }
docs: <p>
  A <code>ListPoliciesGrantingServiceAccess</code> object that contains details about the permissions policies
  attached to the specified identity (user, group, or role).
  </p>
  
  @param policiesGrantingServiceAccess
  A <code>ListPoliciesGrantingServiceAccess</code> object that contains details about the permissions
  policies attached to the specified identity (user, group, or role).