Class DomainValidationRecord
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.DomainValidationRecord
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DomainValidationRecord.Builder,DomainValidationRecord>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDomainValidationRecord.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DomainValidationRecord.Builderbuilder()DnsRecordCreationStatednsRecordCreationState()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.StringdomainName()The domain name of the certificate validation record.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceRecordresourceRecord()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.CertificateDomainValidationStatusvalidationStatus()The validation status of the record.StringvalidationStatusAsString()The validation status of the record.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
domainName
public final String domainName()
The domain name of the certificate validation record. For example,
example.comorwww.example.com.- Returns:
- The domain name of the certificate validation record. For example,
example.comorwww.example.com.
-
resourceRecord
public final ResourceRecord resourceRecord()
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
- Returns:
- An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
-
dnsRecordCreationState
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.
- Returns:
- 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.
-
validationStatus
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,
validationStatuswill returnCertificateDomainValidationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalidationStatusAsString().- Returns:
- The validation status of the record.
- See Also:
CertificateDomainValidationStatus
-
validationStatusAsString
public 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,
validationStatuswill returnCertificateDomainValidationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalidationStatusAsString().- Returns:
- The validation status of the record.
- See Also:
CertificateDomainValidationStatus
-
toBuilder
public DomainValidationRecord.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DomainValidationRecord.Builder,DomainValidationRecord>
-
builder
public static DomainValidationRecord.Builder builder()
-
serializableBuilderClass
public static Class<? extends DomainValidationRecord.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-