Class VisitorInfo.Builder

  • Enclosing class:
    VisitorInfo


    public static class VisitorInfo.Builder
    extends java.lang.Object
    Visitor info builder class
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public VisitorInfo.Builder name(java.lang.String name)
        Configures name
        Parameters:
        name - of the visitor
        Returns:
        builder
      • email

        public VisitorInfo.Builder email(java.lang.String email)
        Configures email
        Parameters:
        email - of the visitor
        Returns:
        email
      • phoneNumber

        public VisitorInfo.Builder phoneNumber(java.lang.String number)
        Configures phone number
        Parameters:
        number - of the visitor
        Returns:
        builder
      • note

        public VisitorInfo.Builder note(java.lang.String note)
        Configures note
        Parameters:
        note - about the visitor
        Returns:
        builder
      • build

        public VisitorInfo build()
        Builds an instance of VisitorInfo
        Returns:
        visitor info instance with configuration specified during build process