Class PutEventsResultEntry
java.lang.Object
com.amazonaws.services.cloudwatchevents.model.PutEventsResultEntry
- All Implemented Interfaces:
Serializable
,Cloneable
A PutEventsResult contains a list of PutEventsResultEntry.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The error code representing why the event submission failed on this entry.The error message explaining why the event submission failed on this entry.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.toString()
Returns a string representation of this object; useful for testing and debugging.withErrorCode
(String errorCode) The error code representing why the event submission failed on this entry.withErrorMessage
(String errorMessage) The error message explaining why the event submission failed on this entry.withEventId
(String eventId) The ID of the event submitted to Amazon CloudWatch Events.
-
Constructor Details
-
PutEventsResultEntry
public PutEventsResultEntry()
-
-
Method Details
-
setEventId
The ID of the event submitted to Amazon CloudWatch Events.
- Parameters:
eventId
- The ID of the event submitted to Amazon CloudWatch Events.
-
getEventId
The ID of the event submitted to Amazon CloudWatch Events.
- Returns:
- The ID of the event submitted to Amazon CloudWatch Events.
-
withEventId
The ID of the event submitted to Amazon CloudWatch Events.
- Parameters:
eventId
- The ID of the event submitted to Amazon CloudWatch Events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorCode
The error code representing why the event submission failed on this entry.
- Parameters:
errorCode
- The error code representing why the event submission failed on this entry.
-
getErrorCode
The error code representing why the event submission failed on this entry.
- Returns:
- The error code representing why the event submission failed on this entry.
-
withErrorCode
The error code representing why the event submission failed on this entry.
- Parameters:
errorCode
- The error code representing why the event submission failed on this entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorMessage
The error message explaining why the event submission failed on this entry.
- Parameters:
errorMessage
- The error message explaining why the event submission failed on this entry.
-
getErrorMessage
The error message explaining why the event submission failed on this entry.
- Returns:
- The error message explaining why the event submission failed on this entry.
-
withErrorMessage
The error message explaining why the event submission failed on this entry.
- Parameters:
errorMessage
- The error message explaining why the event submission failed on this entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-