presto-blackhole/src/main/java/io/prestosql/plugin/blackhole/BlackHoleConnector.java/BlackHoleConnector/durationProperty
class BlackHoleConnector:    private static PropertyMetadata<Duration> durationProperty(String name, String description, Duration defaultValue, boolean hidden)
    {
        return new PropertyMetadata<>(
                name,
                description,
                VARCHAR,
                Duration.class,
                defaultValue,
                hidden,
                value -> Duration.valueOf((String) value),
                Duration::toString);
    }