public MessageInsightsFilters withLastDeliveryEvent(String... lastDeliveryEvent) {
        if (this.lastDeliveryEvent == null) {
            setLastDeliveryEvent(new java.util.ArrayList<String>(lastDeliveryEvent.length));
        }
        for (String ele : lastDeliveryEvent) {
            this.lastDeliveryEvent.add(ele);
        }
        return this;
    }
<p>
The last delivery-related event for the email, where the ordering is as follows: <code>SEND</code> &lt;
<code>BOUNCE</code> &lt; <code>DELIVERY</code> &lt; <code>COMPLAINT</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLastDeliveryEvent(java.util.Collection)} or {@link #withLastDeliveryEvent(java.util.Collection)} if
you want to override the existing values.
</p>

@param lastDeliveryEvent
       The last delivery-related event for the email, where the ordering is as follows: <code>SEND</code> &lt;
       <code>BOUNCE</code> &lt; <code>DELIVERY</code> &lt; <code>COMPLAINT</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see DeliveryEventType
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/MessageInsightsFilters.java