public AwsRdsDbInstanceDetails withDomainMemberships(java.util.Collection<AwsRdsDbDomainMembership> domainMemberships) {
        setDomainMemberships(domainMemberships);
        return this;
    }
<p>
The Active Directory domain membership records associated with the DB instance.
</p>

@param domainMemberships
       The Active Directory domain membership records associated with the DB instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsRdsDbInstanceDetails.java