@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Includes the error code and error message for events that could not be ingested by CloudTrail.
Constructor and Description |
---|
ResultErrorEntry() |
Modifier and Type | Method and Description |
---|---|
ResultErrorEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code for events that could not be ingested by CloudTrail.
|
String |
getErrorMessage()
The message that describes the error for events that could not be ingested by CloudTrail.
|
String |
getId()
The original event ID from the source event that could not be ingested by CloudTrail.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code for events that could not be ingested by CloudTrail.
|
void |
setErrorMessage(String errorMessage)
The message that describes the error for events that could not be ingested by CloudTrail.
|
void |
setId(String id)
The original event ID from the source event that could not be ingested by CloudTrail.
|
String |
toString()
Returns a string representation of this object.
|
ResultErrorEntry |
withErrorCode(String errorCode)
The error code for events that could not be ingested by CloudTrail.
|
ResultErrorEntry |
withErrorMessage(String errorMessage)
The message that describes the error for events that could not be ingested by CloudTrail.
|
ResultErrorEntry |
withId(String id)
The original event ID from the source event that could not be ingested by CloudTrail.
|
public void setErrorCode(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
, and InternalFailure
.
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
, and InternalFailure
.public String getErrorCode()
The error code for events that could not be ingested by CloudTrail. Possible error codes include:
FieldTooLong
, FieldNotFound
, InvalidChecksum
, InvalidData
,
InvalidRecipient
, InvalidEventSource
, AccountNotSubscribed
,
Throttling
, and InternalFailure
.
FieldTooLong
, FieldNotFound
, InvalidChecksum
,
InvalidData
, InvalidRecipient
, InvalidEventSource
,
AccountNotSubscribed
, Throttling
, and InternalFailure
.public ResultErrorEntry withErrorCode(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
, and InternalFailure
.
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
, and InternalFailure
.public void setErrorMessage(String errorMessage)
The message that describes the error for events that could not be ingested by CloudTrail.
errorMessage
- The message that describes the error for events that could not be ingested by CloudTrail.public String getErrorMessage()
The message that describes the error for events that could not be ingested by CloudTrail.
public ResultErrorEntry withErrorMessage(String errorMessage)
The message that describes the error for events that could not be ingested by CloudTrail.
errorMessage
- The message that describes the error for events that could not be ingested by CloudTrail.public void setId(String id)
The original event ID from the source event that could not be ingested by CloudTrail.
id
- The original event ID from the source event that could not be ingested by CloudTrail.public String getId()
The original event ID from the source event that could not be ingested by CloudTrail.
public ResultErrorEntry withId(String id)
The original event ID from the source event that could not be ingested by CloudTrail.
id
- The original event ID from the source event that could not be ingested by CloudTrail.public String toString()
toString
in class Object
Object.toString()
public ResultErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.