* Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the error * code and error message returned for events that could not be ingested. *
*/ private java.util.List* Lists events in the provided event payload that were successfully ingested into CloudTrail. *
*/ private java.util.List* Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the error * code and error message returned for events that could not be ingested. *
* * @return Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the * error code and error message returned for events that could not be ingested. */ public java.util.List* Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the error * code and error message returned for events that could not be ingested. *
* * @param failed * Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the * error code and error message returned for events that could not be ingested. */ public void setFailed(java.util.Collection* Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the error * code and error message returned for events that could not be ingested. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailed(java.util.Collection)} or {@link #withFailed(java.util.Collection)} if you want to override the * existing values. *
* * @param failed * Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the * error code and error message returned for events that could not be ingested. * @return Returns a reference to this object so that method calls can be chained together. */ public PutAuditEventsResult withFailed(ResultErrorEntry... failed) { if (this.failed == null) { setFailed(new java.util.ArrayList* Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the error * code and error message returned for events that could not be ingested. *
* * @param failed * Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the * error code and error message returned for events that could not be ingested. * @return Returns a reference to this object so that method calls can be chained together. */ public PutAuditEventsResult withFailed(java.util.Collection* Lists events in the provided event payload that were successfully ingested into CloudTrail. *
* * @return Lists events in the provided event payload that were successfully ingested into CloudTrail. */ public java.util.List* Lists events in the provided event payload that were successfully ingested into CloudTrail. *
* * @param successful * Lists events in the provided event payload that were successfully ingested into CloudTrail. */ public void setSuccessful(java.util.Collection* Lists events in the provided event payload that were successfully ingested into CloudTrail. *
** NOTE: 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. *
* * @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. */ public PutAuditEventsResult withSuccessful(AuditEventResultEntry... successful) { if (this.successful == null) { setSuccessful(new java.util.ArrayList* Lists events in the provided event payload that were successfully ingested into CloudTrail. *
* * @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. */ public PutAuditEventsResult withSuccessful(java.util.Collection