Interface PutAuditEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailDataResponse.Builder,CopyableBuilder<PutAuditEventsResponse.Builder,,PutAuditEventsResponse> SdkBuilder<PutAuditEventsResponse.Builder,,PutAuditEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutAuditEventsResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(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(Consumer<ResultErrorEntry.Builder>... 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(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.successful(Collection<AuditEventResultEntry> successful) Lists events in the provided event payload that were successfully ingested into CloudTrail.successful(Consumer<AuditEventResultEntry.Builder>... successful) Lists events in the provided event payload that were successfully ingested into CloudTrail.successful(AuditEventResultEntry... successful) Lists events in the provided event payload that were successfully ingested into CloudTrail.Methods inherited from interface software.amazon.awssdk.services.cloudtraildata.model.CloudTrailDataResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theResultErrorEntry.Builderavoiding the need to create one manually viaResultErrorEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<ResultErrorEntry>).- Parameters:
failed- a consumer that will call methods onResultErrorEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successful
Lists events in the provided event payload that were successfully ingested into CloudTrail.
- Parameters:
successful- Lists events in the provided event payload that were successfully ingested into CloudTrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
Lists events in the provided event payload that were successfully ingested into CloudTrail.
- Parameters:
successful- Lists events in the provided event payload that were successfully ingested into CloudTrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
Lists events in the provided event payload that were successfully ingested into CloudTrail.
This is a convenience method that creates an instance of theAuditEventResultEntry.Builderavoiding the need to create one manually viaAuditEventResultEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<AuditEventResultEntry>).- Parameters:
successful- a consumer that will call methods onAuditEventResultEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-