Class BaseTransferObject.Builder<T extends BaseTransferObject,B extends BaseTransferObject.Builder<?,?>>

java.lang.Object
google.registry.model.Buildable.Builder<T>
google.registry.model.Buildable.GenericBuilder<T,B>
google.registry.model.transfer.BaseTransferObject.Builder<T,B>
Direct Known Subclasses:
TransferData.Builder, TransferResponse.ContactTransferResponse.Builder, TransferResponse.DomainTransferResponse.Builder
Enclosing class:
BaseTransferObject

public abstract static class BaseTransferObject.Builder<T extends BaseTransferObject,B extends BaseTransferObject.Builder<?,?>> extends Buildable.GenericBuilder<T,B>
Base class for builders of BaseTransferObject subclasses.
  • Constructor Details

  • Method Details

    • setTransferStatus

      public B setTransferStatus(TransferStatus transferStatus)
      Set this resource's transfer status.
    • setGainingRegistrarId

      public B setGainingRegistrarId(String gainingRegistrarId)
      Set the gaining registrar for a pending transfer on this resource.
    • setTransferRequestTime

      public B setTransferRequestTime(org.joda.time.DateTime transferRequestTime)
      Set the time that the current transfer request was made on this resource.
    • setLosingRegistrarId

      public B setLosingRegistrarId(String losingRegistrarId)
      Set the losing registrar for a pending transfer on this resource.
    • setPendingTransferExpirationTime

      public B setPendingTransferExpirationTime(org.joda.time.DateTime pendingTransferExpirationTime)
      Set the expiration time of the current pending transfer.
    • build

      public T build()
      Description copied from class: Buildable.Builder
      Build the instance.
      Overrides:
      build in class Buildable.Builder<T extends BaseTransferObject>