Package google.registry.model.domain
Class DomainCommand.Create
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.domain.DomainCommand.DomainCreateOrChange<Domain.Builder>
google.registry.model.domain.DomainCommand.Create
- All Implemented Interfaces:
DomainCommand.CreateOrUpdate<DomainCommand.Create>
,ResourceCommand
,ResourceCommand.ResourceCreateOrChange<Domain.Builder>
,ResourceCommand.SingleResourceCommand
,Cloneable
- Enclosing class:
DomainCommand
public static class DomainCommand.Create
extends DomainCommand.DomainCreateOrChange<Domain.Builder>
implements DomainCommand.CreateOrUpdate<DomainCommand.Create>
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
Nested classes/interfaces inherited from interface google.registry.model.eppinput.ResourceCommand
ResourceCommand.AbstractSingleResourceCommand, ResourceCommand.ResourceCheck, ResourceCommand.ResourceCreateOrChange<B extends Buildable.Builder<?>>, ResourceCommand.ResourceUpdate<A extends ResourceCommand.ResourceUpdate.AddRemove,
B extends EppResource.Builder<?, ?>, C extends ResourceCommand.ResourceCreateOrChange<B>>, ResourceCommand.SingleResourceCommand -
Field Summary
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncloneAndLinkReferences
(org.joda.time.DateTime now) Creates a copy of thisDomainCommand.Create
with hard links to hosts and contacts.com.google.common.collect.ImmutableSet
<DesignatedContact> com.google.common.collect.ImmutableSet
<String> Methods inherited from class google.registry.model.domain.DomainCommand.DomainCreateOrChange
getRegistrant, getRegistrantContactId
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
Create
public Create()
-
-
Method Details
-
getPeriod
-
getTargetId
- Specified by:
getTargetId
in interfaceResourceCommand.SingleResourceCommand
-
getDomainName
-
getNameserverHostNames
-
getNameservers
-
getContacts
-
getAuthInfo
- Specified by:
getAuthInfo
in interfaceResourceCommand.SingleResourceCommand
- Overrides:
getAuthInfo
in classDomainCommand.DomainCreateOrChange<Domain.Builder>
-
cloneAndLinkReferences
public DomainCommand.Create cloneAndLinkReferences(org.joda.time.DateTime now) throws DomainCommand.InvalidReferencesException Creates a copy of thisDomainCommand.Create
with hard links to hosts and contacts.- Specified by:
cloneAndLinkReferences
in interfaceDomainCommand.CreateOrUpdate<DomainCommand.Create>
- Throws:
DomainCommand.InvalidReferencesException
-