code: @CheckReturnValue
      public final InviteAction setMaxAge(final Long maxAge, final TimeUnit timeUnit)
      {
          if (maxAge == null)
              return this.setMaxAge(null);
  
          Checks.notNegative(maxAge, "maxAge");
          Checks.notNull(timeUnit, "timeUnit");
  
          return this.setMaxAge(Math.toIntExact(timeUnit.toSeconds(maxAge)));
      }
docs: Sets the max age for the invite. Set this to {@code 0} if the invite should never expire. Default is {@code 86400} (24 hours).
  {@code null} will reset this to the default value.
  
  @param  maxAge
  The max age for this invite or {@code null} to use the default value.
  @param  timeUnit
  The {@link java.util.concurrent.TimeUnit TimeUnit} type of {@code maxAge}.
  
  @throws IllegalArgumentException
  If maxAge is negative or maxAge is positive and timeUnit is null.
  
  @return The current InviteAction for chaining.