Class UserDataProfile.Builder

java.lang.Object
com.teamdev.jxbrowser.user.UserDataProfile.Builder
Enclosing interface:
UserDataProfile

public static final class UserDataProfile.Builder extends Object
A builder of UserDataProfile.
Since:
8.0.0
  • Method Details

    • fullName

      public UserDataProfile.Builder fullName(String fullName)
      Sets the full name of the user.
      Parameters:
      fullName - the full name of the user
      Returns:
      this builder
    • email

      public UserDataProfile.Builder email(String email)
      Sets the email of the user.
      Parameters:
      email - the email of the user
      Returns:
      this builder
    • phoneNumber

      public UserDataProfile.Builder phoneNumber(String phoneNumber)
      Sets the phone number of the user.
      Parameters:
      phoneNumber - the phone number of the user
      Returns:
      this builder
    • company

      public UserDataProfile.Builder company(String company)
      Sets the company of the user.
      Parameters:
      company - the company of the user
      Returns:
      this builder
    • build

      public UserDataProfile build()
      Returns a new UserDataProfile instance built from the current state of this builder.
      Returns:
      a new UserDataProfile instance