Package google.registry.model.console
Class UserRoles.Builder
- Enclosing class:
UserRoles
Builder for constructing immutable
UserRoles
objects.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.setGlobalRole
(GlobalRole globalRole) setIsAdmin
(boolean isAdmin) setRegistrarRoles
(Map<String, RegistrarRole> registrarRoles) Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBuildable.Builder<UserRoles>
-
setIsAdmin
-
setGlobalRole
-
setRegistrarRoles
-