Package zendesk.chat.client
Class VisitorInfo.Builder
- java.lang.Object
-
- zendesk.chat.client.VisitorInfo.Builder
-
- Enclosing class:
- VisitorInfo
public static class VisitorInfo.Builder extends java.lang.Object
Constructs instances of VisitorInfo.- See Also:
VisitorInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description VisitorInfo
build()
Builds an instance of [VisitorInfo] with the current configuration.VisitorInfo.Builder
withEmail(java.lang.String email)
Configures the email of the visitor.VisitorInfo.Builder
withName(java.lang.String name)
Configures the name of the visitor.VisitorInfo.Builder
withPhoneNumber(java.lang.String phoneNumber)
Configures the phone number of the visitor.
-
-
-
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
-
-