Class PropertyBuilder


  • public class PropertyBuilder
    extends java.lang.Object
    PropertyBuilder is the suggested Way to construct VeniceProperties. Ideally you use the PropertyBuilder APIs to add properties and once all the properties are added, call the build method to get the VeniceProperties object. All the put methods overwrite the property if it already exists.
    • Constructor Detail

      • PropertyBuilder

        public PropertyBuilder()
    • Method Detail

      • put

        public PropertyBuilder put​(java.lang.String key,
                                   java.lang.Object value)
      • putIfAbsent

        public PropertyBuilder putIfAbsent​(java.lang.String key,
                                           java.lang.Object value)
      • put

        public PropertyBuilder put​(java.io.File file)
                            throws java.io.IOException
        Throws:
        java.io.IOException