@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutEventsResultEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents an event that failed to be submitted.
Constructor and Description |
---|
PutEventsResultEntry() |
Modifier and Type | Method and Description |
---|---|
PutEventsResultEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code that indicates why the event submission failed.
|
String |
getErrorMessage()
The error message that explains why the event submission failed.
|
String |
getEventId()
The ID of the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code that indicates why the event submission failed.
|
void |
setErrorMessage(String errorMessage)
The error message that explains why the event submission failed.
|
void |
setEventId(String eventId)
The ID of the event.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutEventsResultEntry |
withErrorCode(String errorCode)
The error code that indicates why the event submission failed.
|
PutEventsResultEntry |
withErrorMessage(String errorMessage)
The error message that explains why the event submission failed.
|
PutEventsResultEntry |
withEventId(String eventId)
The ID of the event.
|
public void setEventId(String eventId)
The ID of the event.
eventId
- The ID of the event.public String getEventId()
The ID of the event.
public PutEventsResultEntry withEventId(String eventId)
The ID of the event.
eventId
- The ID of the event.public void setErrorCode(String errorCode)
The error code that indicates why the event submission failed.
errorCode
- The error code that indicates why the event submission failed.public String getErrorCode()
The error code that indicates why the event submission failed.
public PutEventsResultEntry withErrorCode(String errorCode)
The error code that indicates why the event submission failed.
errorCode
- The error code that indicates why the event submission failed.public void setErrorMessage(String errorMessage)
The error message that explains why the event submission failed.
errorMessage
- The error message that explains why the event submission failed.public String getErrorMessage()
The error message that explains why the event submission failed.
public PutEventsResultEntry withErrorMessage(String errorMessage)
The error message that explains why the event submission failed.
errorMessage
- The error message that explains why the event submission failed.public String toString()
toString
in class Object
Object.toString()
public PutEventsResultEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.