Class HostBase.Builder<T extends HostBase,B extends HostBase.Builder<T,B>>

Direct Known Subclasses:
Host.Builder
Enclosing class:
HostBase

protected static class HostBase.Builder<T extends HostBase,B extends HostBase.Builder<T,B>> extends EppResource.Builder<T,B>
A builder for constructing HostBase, since it is immutable.
  • Constructor Details

    • Builder

      public Builder()
    • Builder

      protected Builder(T instance)
  • Method Details

    • setRepoId

      public B setRepoId(String repoId)
      Description copied from class: EppResource.Builder
      Set this resource's repoId.
      Overrides:
      setRepoId in class EppResource.Builder<T extends HostBase,B extends HostBase.Builder<T,B>>
    • build

      public T build()
      Description copied from class: EppResource.Builder
      Build the resource, nullifying empty strings and sets and setting defaults.
      Overrides:
      build in class EppResource.Builder<T extends HostBase,B extends HostBase.Builder<T,B>>
    • setHostName

      public B setHostName(String hostName)
    • setInetAddresses

      public B setInetAddresses(com.google.common.collect.ImmutableSet<InetAddress> inetAddresses)
    • setLastSuperordinateChange

      public B setLastSuperordinateChange(org.joda.time.DateTime lastSuperordinateChange)
    • addInetAddresses

      public B addInetAddresses(com.google.common.collect.ImmutableSet<InetAddress> inetAddresses)
    • removeInetAddresses

      public B removeInetAddresses(com.google.common.collect.ImmutableSet<InetAddress> inetAddresses)
    • setSuperordinateDomain

      public B setSuperordinateDomain(VKey<Domain> superordinateDomain)
    • setLastTransferTime

      public B setLastTransferTime(org.joda.time.DateTime lastTransferTime)