public java.util.List<DomainMembership> getDomainMemberships() {
        if (domainMemberships == null) {
            domainMemberships = new com.amazonaws.internal.SdkInternalList<DomainMembership>();
        }
        return domainMemberships;
    }
<p>
The Active Directory Domain membership records associated with the DB instance.
</p>

@return The Active Directory Domain membership records associated with the DB instance.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DBInstance.java