public void setLastEngagementEvent(java.util.Collection<String> lastEngagementEvent) {
        if (lastEngagementEvent == null) {
            this.lastEngagementEvent = null;
            return;
        }

        this.lastEngagementEvent = new java.util.ArrayList<String>(lastEngagementEvent);
    }
<p>
The last engagement-related event for the email, where the ordering is as follows: <code>OPEN</code> &lt;
<code>CLICK</code>.
</p>
<p>
Engagement events are only available if <a
href="https://docs.aws.amazon.com/ses/latest/dg/vdm-settings.html">Engagement tracking</a> is enabled.
</p>

@param lastEngagementEvent
       The last engagement-related event for the email, where the ordering is as follows: <code>OPEN</code> &lt;
       <code>CLICK</code>. </p>
       <p>
       Engagement events are only available if <a
       href="https://docs.aws.amazon.com/ses/latest/dg/vdm-settings.html">Engagement tracking</a> is enabled.
@see EngagementEventType
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/MessageInsightsFilters.java