public EurekaUpdatingListenerBuilder renewalInterval(Duration renewalInterval) {
        requireNonNull(renewalInterval, "renewalInterval");
        checkArgument(!renewalInterval.isZero() &&
                      !renewalInterval.isNegative(),
                      "renewalInterval: %s (expected: > 0)",
                      renewalInterval);

        final int renewalIntervalSeconds = Ints.saturatedCast(
                renewalInterval.getSeconds() +
                (renewalInterval.getNano() != 0 ? 1 : 0));

        instanceInfoBuilder.renewalIntervalSeconds(renewalIntervalSeconds);
        return this;
    }
Sets the interval between renewal. {@value DEFAULT_LEASE_RENEWAL_INTERVAL_SECONDS} seconds is used
by default and it's not recommended to modify this value. Eureka protocol stores this value in seconds
internally, and thus this method will convert the given interval into seconds, rounding up
its sub-second part. See
<a href="https://github.com/Netflix/eureka/wiki/Understanding-eureka-client-server-communication#renew">
renew</a>.
eureka/src/main/java/com/linecorp/armeria/server/eureka/EurekaUpdatingListenerBuilder.java