@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        } else if (!(o instanceof EventStreamInfo)) {
            return false;
        }

        EventStreamInfo that = (EventStreamInfo) o;
        return operation.getId().equals(that.operation.getId())
                && structure.getId().equals(that.structure.getId())
                && eventStreamMember.getId().equals(that.eventStreamMember.getId())
                && initialMembers.equals(that.initialMembers);
    }
Gets all of the event stream events of the event stream.

<p>The returned map is a mapping of the event name to the event.
For multi-event event streams, the name of hte event is the member
name of the multi-event union. For single-event event streams,
the name of the event is the name of the input or output structure
member referenced by the event stream trait.

@return Returns a map of event stream events.
smithy-model/src/main/java/software/amazon/smithy/model/knowledge/EventStreamInfo.java