Interface PutEventsResultEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PutEventsResultEntry.Builder,PutEventsResultEntry>,SdkBuilder<PutEventsResultEntry.Builder,PutEventsResultEntry>,SdkPojo
- Enclosing class:
- PutEventsResultEntry
public static interface PutEventsResultEntry.Builder extends SdkPojo, CopyableBuilder<PutEventsResultEntry.Builder,PutEventsResultEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutEventsResultEntry.BuildererrorCode(String errorCode)The error code that indicates why the event submission failed.PutEventsResultEntry.BuildererrorMessage(String errorMessage)The error message that explains why the event submission failed.PutEventsResultEntry.BuildereventId(String eventId)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, sdkFields
-
-
-
-
Method Detail
-
eventId
PutEventsResultEntry.Builder eventId(String 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
PutEventsResultEntry.Builder errorCode(String 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
PutEventsResultEntry.Builder errorMessage(String 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.
-
-