Class UserBase.Builder<T extends UserBase,B extends UserBase.Builder<T,B>>

Direct Known Subclasses:
User.Builder
Enclosing class:
UserBase

public static class UserBase.Builder<T extends UserBase,B extends UserBase.Builder<T,B>> extends Buildable.GenericBuilder<T,B>
Builder for constructing immutable UserBase objects.
  • Constructor Details

    • Builder

      public Builder()
    • Builder

      public Builder(T abstractUser)
  • Method Details

    • build

      public T build()
      Description copied from class: Buildable.Builder
      Build the instance.
      Overrides:
      build in class Buildable.Builder<T extends UserBase>
    • setEmailAddress

      public B setEmailAddress(String emailAddress)
    • setRegistryLockEmailAddress

      public B setRegistryLockEmailAddress(@Nullable String registryLockEmailAddress)
    • setUserRoles

      public B setUserRoles(UserRoles userRoles)
    • removeRegistryLockPassword

      public B removeRegistryLockPassword()
    • setRegistryLockPassword

      public B setRegistryLockPassword(String registryLockPassword)