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 Details

    • Builder

      public Builder()
    • Builder

      protected Builder(T instance)
  • Method Details

    • build

      public T build()
      Build the registrar, nullifying empty fields.
      Overrides:
      build in class Buildable.Builder<T extends RegistrarPocBase>
    • setName

      public B setName(String name)
    • setEmailAddress

      public B setEmailAddress(String emailAddress)
    • setRegistryLockEmailAddress

      public B setRegistryLockEmailAddress(@Nullable String registryLockEmailAddress)
    • setPhoneNumber

      public B setPhoneNumber(String phoneNumber)
    • setRegistrarId

      public B setRegistrarId(String registrarId)
    • setRegistrar

      public B setRegistrar(Registrar registrar)
    • setFaxNumber

      public B setFaxNumber(String faxNumber)
    • setTypes

      public B setTypes(Iterable<RegistrarPocBase.Type> types)
    • setVisibleInWhoisAsAdmin

      public B setVisibleInWhoisAsAdmin(boolean visible)
    • setVisibleInWhoisAsTech

      public B setVisibleInWhoisAsTech(boolean visible)
    • setVisibleInDomainWhoisAsAbuse

      public B setVisibleInDomainWhoisAsAbuse(boolean visible)
    • setAllowedToSetRegistryLockPassword

      public B setAllowedToSetRegistryLockPassword(boolean allowedToSetRegistryLockPassword)
    • setRegistryLockPassword

      public B setRegistryLockPassword(String registryLockPassword)