@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisteredDomainDelegationInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes the delegation state of an Amazon Route 53 registered domain to Amazon Lightsail.
When you delegate an Amazon Route 53 registered domain to Lightsail, you can manage the DNS of the domain using a Lightsail DNS zone. You no longer use the Route 53 hosted zone to manage the DNS of the domain. To delegate the domain, Lightsail automatically updates the domain's name servers in Route 53 to the name servers of the Lightsail DNS zone. Then, Lightsail automatically deletes the Route 53 hosted zone for the domain.
All of the following conditions must be true for automatic domain delegation to be successful:
The registered domain must be in the same Amazon Web Services account as the Lightsail account making the request.
The user or entity making the request must have permission to manage domains in Route 53.
The Route 53 hosted zone for the domain must be empty. It cannot contain DNS records other than start of authority (SOA) and name server records.
If automatic domain delegation fails, or if you manage the DNS of your domain using a service other than Route 53, then you must manually add the Lightsail DNS zone name servers to your domain in order to delegate management of its DNS to Lightsail. For more information, see Creating a DNS zone to manage your domain’s records in Amazon Lightsail in the Amazon Lightsail Developer Guide.
Constructor and Description |
---|
RegisteredDomainDelegationInfo() |
Modifier and Type | Method and Description |
---|---|
RegisteredDomainDelegationInfo |
clone() |
boolean |
equals(Object obj) |
NameServersUpdateState |
getNameServersUpdateState()
An object that describes the state of the name server records that are automatically added to the Route 53 domain
by Lightsail.
|
R53HostedZoneDeletionState |
getR53HostedZoneDeletionState()
Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated
to an Amazon Lightsail DNS zone.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNameServersUpdateState(NameServersUpdateState nameServersUpdateState)
An object that describes the state of the name server records that are automatically added to the Route 53 domain
by Lightsail.
|
void |
setR53HostedZoneDeletionState(R53HostedZoneDeletionState r53HostedZoneDeletionState)
Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated
to an Amazon Lightsail DNS zone.
|
String |
toString()
Returns a string representation of this object.
|
RegisteredDomainDelegationInfo |
withNameServersUpdateState(NameServersUpdateState nameServersUpdateState)
An object that describes the state of the name server records that are automatically added to the Route 53 domain
by Lightsail.
|
RegisteredDomainDelegationInfo |
withR53HostedZoneDeletionState(R53HostedZoneDeletionState r53HostedZoneDeletionState)
Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated
to an Amazon Lightsail DNS zone.
|
public void setNameServersUpdateState(NameServersUpdateState nameServersUpdateState)
An object that describes the state of the name server records that are automatically added to the Route 53 domain by Lightsail.
nameServersUpdateState
- An object that describes the state of the name server records that are automatically added to the Route 53
domain by Lightsail.public NameServersUpdateState getNameServersUpdateState()
An object that describes the state of the name server records that are automatically added to the Route 53 domain by Lightsail.
public RegisteredDomainDelegationInfo withNameServersUpdateState(NameServersUpdateState nameServersUpdateState)
An object that describes the state of the name server records that are automatically added to the Route 53 domain by Lightsail.
nameServersUpdateState
- An object that describes the state of the name server records that are automatically added to the Route 53
domain by Lightsail.public void setR53HostedZoneDeletionState(R53HostedZoneDeletionState r53HostedZoneDeletionState)
Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.
r53HostedZoneDeletionState
- Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically
delegated to an Amazon Lightsail DNS zone.public R53HostedZoneDeletionState getR53HostedZoneDeletionState()
Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.
public RegisteredDomainDelegationInfo withR53HostedZoneDeletionState(R53HostedZoneDeletionState r53HostedZoneDeletionState)
Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.
r53HostedZoneDeletionState
- Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically
delegated to an Amazon Lightsail DNS zone.public String toString()
toString
in class Object
Object.toString()
public RegisteredDomainDelegationInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.