class SerdeFeaturesFactory {

  public static SerdeFeatures buildInternal(final Format keyFormat) {
    final ImmutableSet.Builder<SerdeFeature> builder = ImmutableSet.builder();

    getKeyWrapping(true, keyFormat)
        .ifPresent(builder::add);

    return SerdeFeatures.from(builder.build());
  }

  private  SerdeFeaturesFactory();

}