Package google.registry.model.transfer
Class TransferData.Builder<T extends TransferData,B extends TransferData.Builder<T,B>>
java.lang.Object
google.registry.model.Buildable.Builder<T>
google.registry.model.Buildable.GenericBuilder<T,B>
google.registry.model.transfer.BaseTransferObject.Builder<T,B>
google.registry.model.transfer.TransferData.Builder<T,B>
- Direct Known Subclasses:
ContactTransferData.Builder
,DomainTransferData.Builder
- Enclosing class:
TransferData
public abstract static class TransferData.Builder<T extends TransferData,B extends TransferData.Builder<T,B>>
extends BaseTransferObject.Builder<T,B>
Builder for
TransferData
because it is immutable.-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder()
Create aTransferData.Builder
wrapping a new instance.protected
Create aTransferData.Builder
wrapping the given instance. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.setServerApproveEntities
(String repoId, Long historyId, com.google.common.collect.ImmutableSet<VKey<? extends TransferData.TransferServerApproveEntity>> serverApproveEntities) setTransferRequestTrid
(Trid transferRequestTrid) Methods inherited from class google.registry.model.transfer.BaseTransferObject.Builder
setGainingRegistrarId, setLosingRegistrarId, setPendingTransferExpirationTime, setTransferRequestTime, setTransferStatus
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 aTransferData.Builder
wrapping a new instance. -
Builder
Create aTransferData.Builder
wrapping the given instance.
-
-
Method Details
-
setTransferRequestTrid
-
setServerApproveEntities
public B setServerApproveEntities(String repoId, Long historyId, com.google.common.collect.ImmutableSet<VKey<? extends TransferData.TransferServerApproveEntity>> serverApproveEntities) -
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBaseTransferObject.Builder<T extends TransferData,
B extends TransferData.Builder<T, B>>
-