@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.CertificateDomainValidationStatuspublic String getValidationStatus()
The validation status of the record.
CertificateDomainValidationStatuspublic DomainValidationRecord withValidationStatus(String validationStatus)
The validation status of the record.
validationStatus - The validation status of the record.CertificateDomainValidationStatuspublic DomainValidationRecord withValidationStatus(CertificateDomainValidationStatus validationStatus)
The validation status of the record.
validationStatus - The validation status of the record.CertificateDomainValidationStatuspublic String toString()
toString in class ObjectObject.toString()public DomainValidationRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.