Package google.registry.model.registrar
Class RegistrarPocBase.Builder<T extends RegistrarPocBase,B extends RegistrarPocBase.Builder<T,B>>
java.lang.Object
google.registry.model.Buildable.Builder<T>
google.registry.model.Buildable.GenericBuilder<T,B>
google.registry.model.registrar.RegistrarPocBase.Builder<T,B>
- Direct Known Subclasses:
RegistrarPoc.Builder
- Enclosing class:
RegistrarPocBase
public static class RegistrarPocBase.Builder<T extends RegistrarPocBase,B extends RegistrarPocBase.Builder<T,B>>
extends Buildable.GenericBuilder<T,B>
A builder for constructing a
RegistrarPoc
, since it is immutable.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the registrar, nullifying empty fields.setAllowedToSetRegistryLockPassword
(boolean allowedToSetRegistryLockPassword) setEmailAddress
(String emailAddress) setFaxNumber
(String faxNumber) setPhoneNumber
(String phoneNumber) setRegistrar
(Registrar registrar) setRegistrarId
(String registrarId) setRegistryLockEmailAddress
(String registryLockEmailAddress) setRegistryLockPassword
(String registryLockPassword) setTypes
(Iterable<RegistrarPocBase.Type> types) setVisibleInDomainWhoisAsAbuse
(boolean visible) setVisibleInWhoisAsAdmin
(boolean visible) setVisibleInWhoisAsTech
(boolean visible) 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
Build the registrar, nullifying empty fields.- Overrides:
build
in classBuildable.Builder<T extends RegistrarPocBase>
-
setName
-
setEmailAddress
-
setRegistryLockEmailAddress
-
setPhoneNumber
-
setRegistrarId
-
setRegistrar
-
setFaxNumber
-
setTypes
-
setVisibleInWhoisAsAdmin
-
setVisibleInWhoisAsTech
-
setVisibleInDomainWhoisAsAbuse
-
setAllowedToSetRegistryLockPassword
-
setRegistryLockPassword
-