Interface PutAuditEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailDataResponse.Builder,CopyableBuilder<PutAuditEventsResponse.Builder,PutAuditEventsResponse>,SdkBuilder<PutAuditEventsResponse.Builder,PutAuditEventsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutAuditEventsResponse
public static interface PutAuditEventsResponse.Builder extends CloudTrailDataResponse.Builder, SdkPojo, CopyableBuilder<PutAuditEventsResponse.Builder,PutAuditEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutAuditEventsResponse.Builderfailed(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.PutAuditEventsResponse.Builderfailed(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.PutAuditEventsResponse.Builderfailed(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.PutAuditEventsResponse.Buildersuccessful(Collection<AuditEventResultEntry> successful)Lists events in the provided event payload that were successfully ingested into CloudTrail.PutAuditEventsResponse.Buildersuccessful(Consumer<AuditEventResultEntry.Builder>... successful)Lists events in the provided event payload that were successfully ingested into CloudTrail.PutAuditEventsResponse.Buildersuccessful(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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
failed
PutAuditEventsResponse.Builder failed(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.
- 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
PutAuditEventsResponse.Builder 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.
- 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
PutAuditEventsResponse.Builder 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.
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 to#failed(List.) - 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:
#failed(java.util.Collection)
-
successful
PutAuditEventsResponse.Builder successful(Collection<AuditEventResultEntry> 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
PutAuditEventsResponse.Builder successful(AuditEventResultEntry... 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
PutAuditEventsResponse.Builder successful(Consumer<AuditEventResultEntry.Builder>... 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 to#successful(List.) - 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:
#successful(java.util.Collection)
-
-