Class Format.Builder

  • Enclosing class:
    Format

    public static class Format.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • value

        public Format.Builder value​(String value)
        Regex format specification
        Parameters:
        value - the value to set
        Returns:
        this builder
      • example

        public Format.Builder example​(String example)
        Example of the desired format that matches the regex
        Parameters:
        example - the value to set
        Returns:
        this builder
      • build

        public Format build()