Interface PutEventsResultEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PutEventsResultEntry.Builder,
,PutEventsResultEntry> SdkBuilder<PutEventsResultEntry.Builder,
,PutEventsResultEntry> SdkPojo
- Enclosing class:
PutEventsResultEntry
-
Method Summary
Modifier and TypeMethodDescriptionThe error code that indicates why the event submission failed.errorMessage
(String errorMessage) The error message that explains why the event submission failed.The ID of the event.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, sdkFieldNameToField, sdkFields
-
Method Details
-
eventId
The ID of the event.
- Parameters:
eventId
- The ID of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The error code that indicates why the event submission failed.
Retryable errors include:
-
The request processing has failed because of an unknown error, exception or failure.
-
The request was denied due to request throttling.
Non-retryable errors include:
-
You do not have sufficient access to perform this action.
-
InvalidAccountIdException
The account ID provided is not valid.
-
InvalidArgument
A specified parameter is not valid.
-
MalformedDetail
The JSON provided is not valid.
-
RedactionFailure
Redacting the CloudTrail event failed.
-
NotAuthorizedForSourceException
You do not have permissions to publish events with this source onto this event bus.
-
NotAuthorizedForDetailTypeException
You do not have permissions to publish events with this detail type onto this event bus.
- Parameters:
errorCode
- The error code that indicates why the event submission failed.Retryable errors include:
-
The request processing has failed because of an unknown error, exception or failure.
-
The request was denied due to request throttling.
Non-retryable errors include:
-
You do not have sufficient access to perform this action.
-
InvalidAccountIdException
The account ID provided is not valid.
-
InvalidArgument
A specified parameter is not valid.
-
MalformedDetail
The JSON provided is not valid.
-
RedactionFailure
Redacting the CloudTrail event failed.
-
NotAuthorizedForSourceException
You do not have permissions to publish events with this source onto this event bus.
-
NotAuthorizedForDetailTypeException
You do not have permissions to publish events with this detail type onto this event bus.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
errorMessage
The error message that explains why the event submission failed.
- Parameters:
errorMessage
- The error message that explains why the event submission failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-