public DomainValidationRecord withResourceRecord(ResourceRecord resourceRecord) {
        setResourceRecord(resourceRecord);
        return this;
    }
<p>
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
</p>

@param resourceRecord
       An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
@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