public java.util.List<OptionGroupMembership> getOptionGroupMemberships() {
        if (optionGroupMemberships == null) {
            optionGroupMemberships = new com.amazonaws.internal.SdkInternalList<OptionGroupMembership>();
        }
        return optionGroupMemberships;
    }
<p>
The list of option group memberships for this DB instance.
</p>

@return The list of option group memberships for this DB instance.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DBInstance.java