public class PutEventsResultEntry extends Object implements Serializable, Cloneable
A PutEventsResult contains a list of PutEventsResultEntry.
Constructor and Description |
---|
PutEventsResultEntry() |
Modifier and Type | Method and Description |
---|---|
PutEventsResultEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code representing why the event submission failed on this
entry.
|
String |
getErrorMessage()
The error message explaining why the event submission failed on this
entry.
|
String |
getEventId()
The ID of the event submitted to Amazon CloudWatch Events.
|
int |
hashCode() |
void |
setErrorCode(String errorCode)
The error code representing why the event submission failed on this
entry.
|
void |
setErrorMessage(String errorMessage)
The error message explaining why the event submission failed on this
entry.
|
void |
setEventId(String eventId)
The ID of the event submitted to Amazon CloudWatch Events.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutEventsResultEntry |
withErrorCode(String errorCode)
The error code representing why the event submission failed on this
entry.
|
PutEventsResultEntry |
withErrorMessage(String errorMessage)
The error message explaining why the event submission failed on this
entry.
|
PutEventsResultEntry |
withEventId(String eventId)
The ID of the event submitted to Amazon CloudWatch Events.
|
public void setEventId(String eventId)
The ID of the event submitted to Amazon CloudWatch Events.
eventId
- The ID of the event submitted to Amazon CloudWatch Events.public String getEventId()
The ID of the event submitted to Amazon CloudWatch Events.
public PutEventsResultEntry withEventId(String eventId)
The ID of the event submitted to Amazon CloudWatch Events.
eventId
- The ID of the event submitted to Amazon CloudWatch Events.public void setErrorCode(String errorCode)
The error code representing why the event submission failed on this entry.
errorCode
- The error code representing why the event submission failed on
this entry.public String getErrorCode()
The error code representing why the event submission failed on this entry.
public PutEventsResultEntry withErrorCode(String errorCode)
The error code representing why the event submission failed on this entry.
errorCode
- The error code representing why the event submission failed on
this entry.public void setErrorMessage(String errorMessage)
The error message explaining why the event submission failed on this entry.
errorMessage
- The error message explaining why the event submission failed on
this entry.public String getErrorMessage()
The error message explaining why the event submission failed on this entry.
public PutEventsResultEntry withErrorMessage(String errorMessage)
The error message explaining why the event submission failed on this entry.
errorMessage
- The error message explaining why the event submission failed on
this entry.public String toString()
toString
in class Object
Object.toString()
public PutEventsResultEntry clone()
Copyright © 2018. All rights reserved.