@Generated(value="software.amazon.awssdk:codegen") public final class DomainValidationRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainValidationRecord.Builder,DomainValidationRecord>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DomainValidationRecord.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DomainValidationRecord.Builder |
builder() |
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.
|
String |
domainName()
The domain name of the certificate validation record.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceRecord |
resourceRecord()
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DomainValidationRecord.Builder> |
serializableBuilderClass() |
DomainValidationRecord.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
CertificateDomainValidationStatus |
validationStatus()
The validation status of the record.
|
String |
validationStatusAsString()
The validation status of the record.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
The domain name of the certificate validation record. For example, example.com or
www.example.com.
example.com or
www.example.com.public final ResourceRecord resourceRecord()
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
public final 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.
public final CertificateDomainValidationStatus validationStatus()
The validation status of the record.
If the service returns an enum value that is not available in the current SDK version, validationStatus
will return CertificateDomainValidationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from validationStatusAsString().
CertificateDomainValidationStatuspublic final String validationStatusAsString()
The validation status of the record.
If the service returns an enum value that is not available in the current SDK version, validationStatus
will return CertificateDomainValidationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from validationStatusAsString().
CertificateDomainValidationStatuspublic DomainValidationRecord.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DomainValidationRecord.Builder,DomainValidationRecord>public static DomainValidationRecord.Builder builder()
public static Class<? extends DomainValidationRecord.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.