public void setDomainMemberships(java.util.Collection<AwsRdsDbDomainMembership> domainMemberships) {
        if (domainMemberships == null) {
            this.domainMemberships = null;
            return;
        }

        this.domainMemberships = new java.util.ArrayList<AwsRdsDbDomainMembership>(domainMemberships);
    }
<p>
The Active Directory domain membership records that are associated with the DB cluster.
</p>

@param domainMemberships
       The Active Directory domain membership records that are associated with the DB cluster.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsRdsDbClusterDetails.java