@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainValidationRecord extends Object implements Serializable, Cloneable, StructuredPojo
Describes the domain name system (DNS) records that you must add to the DNS of your registered domain to validate ownership for an Amazon Lightsail SSL/TLS certificate.
Constructor and Description |
---|
DomainValidationRecord() |
Modifier and Type | Method and Description |
---|---|
DomainValidationRecord |
clone() |
boolean |
equals(Object obj) |
DnsRecordCreationState |
getDnsRecordCreationState()
An object that describes the state of the canonical name (CNAME) records that are automatically added by
Lightsail to the DNS of the domain to validate domain ownership.
|
String |
getDomainName()
The domain name of the certificate validation record.
|
ResourceRecord |
getResourceRecord()
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
|
String |
getValidationStatus()
The validation status of the record.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDnsRecordCreationState(DnsRecordCreationState dnsRecordCreationState)
An object that describes the state of the canonical name (CNAME) records that are automatically added by
Lightsail to the DNS of the domain to validate domain ownership.
|
void |
setDomainName(String domainName)
The domain name of the certificate validation record.
|
void |
setResourceRecord(ResourceRecord resourceRecord)
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
|
void |
setValidationStatus(String validationStatus)
The validation status of the record.
|
String |
toString()
Returns a string representation of this object.
|
DomainValidationRecord |
withDnsRecordCreationState(DnsRecordCreationState dnsRecordCreationState)
An object that describes the state of the canonical name (CNAME) records that are automatically added by
Lightsail to the DNS of the domain to validate domain ownership.
|
DomainValidationRecord |
withDomainName(String domainName)
The domain name of the certificate validation record.
|
DomainValidationRecord |
withResourceRecord(ResourceRecord resourceRecord)
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
|
DomainValidationRecord |
withValidationStatus(CertificateDomainValidationStatus validationStatus)
The validation status of the record.
|
DomainValidationRecord |
withValidationStatus(String validationStatus)
The validation status of the record.
|
public void setDomainName(String domainName)
The domain name of the certificate validation record. For example, example.com
or
www.example.com
.
domainName
- The domain name of the certificate validation record. For example, example.com
or
www.example.com
.public String getDomainName()
The domain name of the certificate validation record. For example, example.com
or
www.example.com
.
example.com
or
www.example.com
.public DomainValidationRecord withDomainName(String domainName)
The domain name of the certificate validation record. For example, example.com
or
www.example.com
.
domainName
- The domain name of the certificate validation record. For example, example.com
or
www.example.com
.public void setResourceRecord(ResourceRecord resourceRecord)
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
resourceRecord
- An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.public ResourceRecord getResourceRecord()
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
public DomainValidationRecord withResourceRecord(ResourceRecord resourceRecord)
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
resourceRecord
- An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.public void setDnsRecordCreationState(DnsRecordCreationState dnsRecordCreationState)
An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.
dnsRecordCreationState
- An object that describes the state of the canonical name (CNAME) records that are automatically added by
Lightsail to the DNS of the domain to validate domain ownership.public DnsRecordCreationState getDnsRecordCreationState()
An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.
public DomainValidationRecord withDnsRecordCreationState(DnsRecordCreationState dnsRecordCreationState)
An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.
dnsRecordCreationState
- An object that describes the state of the canonical name (CNAME) records that are automatically added by
Lightsail to the DNS of the domain to validate domain ownership.public void setValidationStatus(String validationStatus)
The validation status of the record.
validationStatus
- The validation status of the record.CertificateDomainValidationStatus
public String getValidationStatus()
The validation status of the record.
CertificateDomainValidationStatus
public DomainValidationRecord withValidationStatus(String validationStatus)
The validation status of the record.
validationStatus
- The validation status of the record.CertificateDomainValidationStatus
public DomainValidationRecord withValidationStatus(CertificateDomainValidationStatus validationStatus)
The validation status of the record.
validationStatus
- The validation status of the record.CertificateDomainValidationStatus
public String toString()
toString
in class Object
Object.toString()
public DomainValidationRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.