private static Duration minimum(Duration smallestAllowed, Duration duration) {
        if (duration.minus(smallestAllowed).isNegative())
            return smallestAllowed;
        return duration;
    }
The predicted time this cluster will stay in each resource configuration (including the scaling duration).
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/applications/Cluster.java