class ImmutableFeatureFromCopyBuilder implements FeatureBuilder, FeatureBuilder.FromCopyBuildable {

    public static ImmutableFeatureFromCopyBuilder of(final Feature feature) {
        checkNotNull(feature, "Feature");

        final ImmutableFeatureFromCopyBuilder result = new ImmutableFeatureFromCopyBuilder(feature.getId());
        result.properties(feature.getProperties().orElse(null));
        result.definition(feature.getDefinition().orElse(null));

        return result;
    }

    private  ImmutableFeatureFromCopyBuilder(final String theFeatureId);

}