Package com.teamdev.jxbrowser.user
Class UserDataProfile.Builder
java.lang.Object
com.teamdev.jxbrowser.user.UserDataProfile.Builder
- Enclosing interface:
- UserDataProfile
A builder of
UserDataProfile.- Since:
- 8.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newUserDataProfileinstance built from the current state of this builder.Sets the company of the user.Sets the email of the user.Sets the full name of the user.phoneNumber(String phoneNumber) Sets the phone number of the user.
-
Method Details
-
fullName
Sets the full name of the user.- Parameters:
fullName- the full name of the user- Returns:
- this builder
-
email
Sets the email of the user.- Parameters:
email- the email of the user- Returns:
- this builder
-
phoneNumber
Sets the phone number of the user.- Parameters:
phoneNumber- the phone number of the user- Returns:
- this builder
-
company
Sets the company of the user.- Parameters:
company- the company of the user- Returns:
- this builder
-
build
Returns a newUserDataProfileinstance built from the current state of this builder.- Returns:
- a new
UserDataProfileinstance
-