Class VisitorInfo.Builder

  • Enclosing class:
    VisitorInfo


    public static class VisitorInfo.Builder
    extends java.lang.Object
    Constructs instances of VisitorInfo.
    See Also:
    VisitorInfo
    • Method Detail

      • withName

        public VisitorInfo.Builder withName(java.lang.String name)
        Configures the name of the visitor.
      • withEmail

        public VisitorInfo.Builder withEmail(java.lang.String email)
        Configures the email of the visitor.
      • withPhoneNumber

        public VisitorInfo.Builder withPhoneNumber(java.lang.String phoneNumber)
        Configures the phone number of the visitor.
      • build

        public VisitorInfo build()
        Builds an instance of [VisitorInfo] with the current configuration.
        See Also:
        VisitorInfo