public void setDomainValidationRecords(java.util.Collection<LoadBalancerTlsCertificateDomainValidationRecord> domainValidationRecords) {
        if (domainValidationRecords == null) {
            this.domainValidationRecords = null;
            return;
        }

        this.domainValidationRecords = new java.util.ArrayList<LoadBalancerTlsCertificateDomainValidationRecord>(domainValidationRecords);
    }
<p>
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
</p>

@param domainValidationRecords
       An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LoadBalancerTlsCertificate.java