Package google.registry.model.registrar
Class RegistrarPoc.Builder
java.lang.Object
google.registry.model.Buildable.Builder<RegistrarPoc>
google.registry.model.registrar.RegistrarPoc.Builder
- Enclosing class:
RegistrarPoc
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) setLoginEmailAddress
(String loginEmailAddress) setPhoneNumber
(String phoneNumber) setRegistrar
(Registrar registrar) setRegistrarId
(String registrarId) setRegistryLockEmailAddress
(String registryLockEmailAddress) setRegistryLockPassword
(String registryLockPassword) setTypes
(Iterable<RegistrarPoc.Type> types) setVisibleInDomainWhoisAsAbuse
(boolean visible) setVisibleInWhoisAsAdmin
(boolean visible) setVisibleInWhoisAsTech
(boolean visible) Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Build the registrar, nullifying empty fields.- Overrides:
build
in classBuildable.Builder<RegistrarPoc>
-
setName
-
setEmailAddress
-
setRegistryLockEmailAddress
-
setPhoneNumber
-
setRegistrarId
-
setRegistrar
-
setFaxNumber
-
setTypes
-
setVisibleInWhoisAsAdmin
-
setVisibleInWhoisAsTech
-
setVisibleInDomainWhoisAsAbuse
-
setLoginEmailAddress
-
setAllowedToSetRegistryLockPassword
public RegistrarPoc.Builder setAllowedToSetRegistryLockPassword(boolean allowedToSetRegistryLockPassword) -
setRegistryLockPassword
-