public LoadBalancerTlsCertificate withDomainValidationRecords(java.util.Collection<LoadBalancerTlsCertificateDomainValidationRecord> domainValidationRecords) {
        setDomainValidationRecords(domainValidationRecords);
        return this;
    }
<p>
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
</p>

@param domainValidationRecords
       An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
@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/LoadBalancerTlsCertificate.java