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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
-
InvalidAccountIdExceptionThe account ID provided is not valid.
-
InvalidArgumentA specified parameter is not valid.
-
MalformedDetailThe JSON provided is not valid.
-
RedactionFailureRedacting the CloudTrail event failed.
-
NotAuthorizedForSourceExceptionYou do not have permissions to publish events with this source onto this event bus.
-
NotAuthorizedForDetailTypeExceptionYou 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.
-
InvalidAccountIdExceptionThe account ID provided is not valid.
-
InvalidArgumentA specified parameter is not valid.
-
MalformedDetailThe JSON provided is not valid.
-
RedactionFailureRedacting the CloudTrail event failed.
-
NotAuthorizedForSourceExceptionYou do not have permissions to publish events with this source onto this event bus.
-
NotAuthorizedForDetailTypeExceptionYou 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.
-