public DomainValidationRecord withDnsRecordCreationState(DnsRecordCreationState dnsRecordCreationState) {
        setDnsRecordCreationState(dnsRecordCreationState);
        return this;
    }
<p>
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.
</p>

@param 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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/DomainValidationRecord.java