Class ResultErrorEntry
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtraildata.model.ResultErrorEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResultErrorEntry.Builder,ResultErrorEntry>
@Generated("software.amazon.awssdk:codegen") public final class ResultErrorEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResultErrorEntry.Builder,ResultErrorEntry>
Includes the error code and error message for events that could not be ingested by CloudTrail.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResultErrorEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResultErrorEntry.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()The error code for events that could not be ingested by CloudTrail.StringerrorMessage()The message that describes the error for events that could not be ingested by CloudTrail.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The original event ID from the source event that could not be ingested by CloudTrail.List<SdkField<?>>sdkFields()static Class<? extends ResultErrorEntry.Builder>serializableBuilderClass()ResultErrorEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
errorCode
public final String errorCode()
The error code for events that could not be ingested by CloudTrail. Possible error codes include:
FieldTooLong,FieldNotFound,InvalidChecksum,InvalidData,InvalidRecipient,InvalidEventSource,AccountNotSubscribed,Throttling, andInternalFailure.- Returns:
- The error code for events that could not be ingested by CloudTrail. Possible error codes include:
FieldTooLong,FieldNotFound,InvalidChecksum,InvalidData,InvalidRecipient,InvalidEventSource,AccountNotSubscribed,Throttling, andInternalFailure.
-
errorMessage
public final String errorMessage()
The message that describes the error for events that could not be ingested by CloudTrail.
- Returns:
- The message that describes the error for events that could not be ingested by CloudTrail.
-
id
public final String id()
The original event ID from the source event that could not be ingested by CloudTrail.
- Returns:
- The original event ID from the source event that could not be ingested by CloudTrail.
-
toBuilder
public ResultErrorEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResultErrorEntry.Builder,ResultErrorEntry>
-
builder
public static ResultErrorEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResultErrorEntry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-