Interface Metadata.Builder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Metadata build()
      Builds a Metadata object in accordance with the configuration of this builder.
      Metadata.Builder set​(java.lang.String name, java.lang.Object value)
      Specifies a metadata property of an arbitrary type, replacing any existing property with the same name.
    • Method Detail

      • set

        Metadata.Builder set​(java.lang.String name,
                             java.lang.Object value)
        Specifies a metadata property of an arbitrary type, replacing any existing property with the same name.
        Parameters:
        name - property name
        value - property value
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - if the value is of a type other than string, boolean, integer, long, or double
      • build

        Metadata build()
        Builds a Metadata object in accordance with the configuration of this builder.
        Returns:
        resulting Metadata instance