Package google.registry.model.console
Class UserBase.Builder<T extends UserBase,B extends UserBase.Builder<T,B>>
java.lang.Object
google.registry.model.Buildable.Builder<T>
google.registry.model.Buildable.GenericBuilder<T,B>
google.registry.model.console.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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.setEmailAddress
(String emailAddress) setRegistryLockEmailAddress
(String registryLockEmailAddress) setRegistryLockPassword
(String registryLockPassword) setUserRoles
(UserRoles userRoles) Methods inherited from class google.registry.model.Buildable.GenericBuilder
thisCastToDerived
Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBuildable.Builder<T extends UserBase>
-
setEmailAddress
-
setRegistryLockEmailAddress
-
setUserRoles
-
removeRegistryLockPassword
-
setRegistryLockPassword
-