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