Package google.registry.model.transfer
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 Summary
ModifierConstructorDescriptionprotected
Builder()
Create aBaseTransferObject.Builder
wrapping a new instance.protected
Create aBaseTransferObject.Builder
wrapping the given instance. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.setGainingRegistrarId
(String gainingRegistrarId) Set the gaining registrar for a pending transfer on this resource.setLosingRegistrarId
(String losingRegistrarId) Set the losing registrar for a pending transfer on this resource.setPendingTransferExpirationTime
(org.joda.time.DateTime pendingTransferExpirationTime) Set the expiration time of the current pending transfer.setTransferRequestTime
(org.joda.time.DateTime transferRequestTime) Set the time that the current transfer request was made on this resource.setTransferStatus
(TransferStatus transferStatus) Set this resource's transfer status.Methods inherited from class google.registry.model.Buildable.GenericBuilder
thisCastToDerived
Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
protected Builder()Create aBaseTransferObject.Builder
wrapping a new instance. -
Builder
Create aBaseTransferObject.Builder
wrapping the given instance.
-
-
Method Details
-
setTransferStatus
Set this resource's transfer status. -
setGainingRegistrarId
Set the gaining registrar for a pending transfer on this resource. -
setTransferRequestTime
Set the time that the current transfer request was made on this resource. -
setLosingRegistrarId
Set the losing registrar for a pending transfer on this resource. -
setPendingTransferExpirationTime
Set the expiration time of the current pending transfer. -
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBuildable.Builder<T extends BaseTransferObject>
-