public PutAuditEventsResult withSuccessful(AuditEventResultEntry... successful) {
        if (this.successful == null) {
            setSuccessful(new java.util.ArrayList<AuditEventResultEntry>(successful.length));
        }
        for (AuditEventResultEntry ele : successful) {
            this.successful.add(ele);
        }
        return this;
    }
<p>
Lists events in the provided event payload that were successfully ingested into CloudTrail.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSuccessful(java.util.Collection)} or {@link #withSuccessful(java.util.Collection)} if you want to
override the existing values.
</p>

@param successful
       Lists events in the provided event payload that were successfully ingested into CloudTrail.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtraildata/src/main/java/com/amazonaws/services/cloudtraildata/model/PutAuditEventsResult.java