code: @CheckReturnValue
      public PermissionOverrideAction setPermissions(Collection<Permission> grantPermissions, Collection<Permission> denyPermissions)
      {
          setAllow(grantPermissions);
          setDeny(denyPermissions);
          return this;
      }
docs: Combination of {@link #setAllow(java.util.Collection)} and {@link #setDeny(java.util.Collection)}
  <br>If a passed collection is {@code null} it resets the represented value to {@code 0} - no permission specifics.
  
  <p>Example: {@code setPermissions(EnumSet.of(Permission.MESSAGE_READ), EnumSet.of(Permission.MESSAGE_WRITE, Permission.MESSAGE_EXT_EMOJI))}
  
  @param  grantPermissions
  A Collection of {@link net.dv8tion.jda.core.Permission Permissions}
  representing all explicitly granted Permissions for the PermissionOverride
  @param  denyPermissions
  A Collection of {@link net.dv8tion.jda.core.Permission Permissions}
  representing all explicitly denied Permissions for the PermissionOverride
  
  @throws java.lang.IllegalArgumentException
  If the any of the specified Permissions is {@code null}
  
  @return The current PermissionOverrideAction - for chaining convenience
  
  @see    java.util.EnumSet EnumSet
  @see    net.dv8tion.jda.core.Permission#getRaw(java.util.Collection) Permission.getRaw(Collection)