code: public StoredCredential setExpirationTimeMilliseconds(Long expirationTimeMilliseconds) {
      lock.lock();
      try {
        this.expirationTimeMilliseconds = expirationTimeMilliseconds;
      } finally {
        lock.unlock();
      }
      return this;
    }
docs: Sets the expected expiration time in milliseconds or {@code null} for none.