@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPartnerEventsResultEntry extends Object implements Serializable, Cloneable, StructuredPojo
The result of an event entry the partner submitted in this request. If the event was successfully submitted, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
Constructor and Description |
---|
PutPartnerEventsResultEntry() |
Modifier and Type | Method and Description |
---|---|
PutPartnerEventsResultEntry |
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.
|
PutPartnerEventsResultEntry |
withErrorCode(String errorCode)
The error code that indicates why the event submission failed.
|
PutPartnerEventsResultEntry |
withErrorMessage(String errorMessage)
The error message that explains why the event submission failed.
|
PutPartnerEventsResultEntry |
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 PutPartnerEventsResultEntry 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 PutPartnerEventsResultEntry 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 PutPartnerEventsResultEntry 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 PutPartnerEventsResultEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.