@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAuditEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
PutAuditEventsResult() |
| Modifier and Type | Method and Description |
|---|---|
PutAuditEventsResult |
clone() |
boolean |
equals(Object obj) |
List<ResultErrorEntry> |
getFailed()
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.
|
List<AuditEventResultEntry> |
getSuccessful()
Lists events in the provided event payload that were successfully ingested into CloudTrail.
|
int |
hashCode() |
void |
setFailed(Collection<ResultErrorEntry> 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.
|
void |
setSuccessful(Collection<AuditEventResultEntry> successful)
Lists events in the provided event payload that were successfully ingested into CloudTrail.
|
String |
toString()
Returns a string representation of this object.
|
PutAuditEventsResult |
withFailed(Collection<ResultErrorEntry> 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.
|
PutAuditEventsResult |
withFailed(ResultErrorEntry... 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.
|
PutAuditEventsResult |
withSuccessful(AuditEventResultEntry... successful)
Lists events in the provided event payload that were successfully ingested into CloudTrail.
|
PutAuditEventsResult |
withSuccessful(Collection<AuditEventResultEntry> successful)
Lists events in the provided event payload that were successfully ingested into CloudTrail.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ResultErrorEntry> getFailed()
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(Collection<ResultErrorEntry> 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.
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 PutAuditEventsResult withFailed(ResultErrorEntry... 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.
NOTE: This method appends the values to the existing list (if any). Use
setFailed(java.util.Collection) or withFailed(java.util.Collection) if you want to override the
existing values.
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 PutAuditEventsResult withFailed(Collection<ResultErrorEntry> 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.
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 List<AuditEventResultEntry> getSuccessful()
Lists events in the provided event payload that were successfully ingested into CloudTrail.
public void setSuccessful(Collection<AuditEventResultEntry> successful)
Lists events in the provided event payload that were successfully ingested into CloudTrail.
successful - Lists events in the provided event payload that were successfully ingested into CloudTrail.public PutAuditEventsResult withSuccessful(AuditEventResultEntry... successful)
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
setSuccessful(java.util.Collection) or withSuccessful(java.util.Collection) if you want to
override the existing values.
successful - Lists events in the provided event payload that were successfully ingested into CloudTrail.public PutAuditEventsResult withSuccessful(Collection<AuditEventResultEntry> successful)
Lists events in the provided event payload that were successfully ingested into CloudTrail.
successful - Lists events in the provided event payload that were successfully ingested into CloudTrail.public String toString()
toString in class ObjectObject.toString()public PutAuditEventsResult clone()