Class PutEventsResultEntry
- java.lang.Object
-
- com.amazonaws.services.cloudwatchevents.model.PutEventsResultEntry
-
- All Implemented Interfaces:
Serializable,Cloneable
public class PutEventsResultEntry extends Object implements Serializable, Cloneable
A PutEventsResult contains a list of PutEventsResultEntry.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PutEventsResultEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutEventsResultEntryclone()booleanequals(Object obj)StringgetErrorCode()The error code representing why the event submission failed on this entry.StringgetErrorMessage()The error message explaining why the event submission failed on this entry.StringgetEventId()The ID of the event submitted to Amazon CloudWatch Events.inthashCode()voidsetErrorCode(String errorCode)The error code representing why the event submission failed on this entry.voidsetErrorMessage(String errorMessage)The error message explaining why the event submission failed on this entry.voidsetEventId(String eventId)The ID of the event submitted to Amazon CloudWatch Events.StringtoString()Returns a string representation of this object; useful for testing and debugging.PutEventsResultEntrywithErrorCode(String errorCode)The error code representing why the event submission failed on this entry.PutEventsResultEntrywithErrorMessage(String errorMessage)The error message explaining why the event submission failed on this entry.PutEventsResultEntrywithEventId(String eventId)The ID of the event submitted to Amazon CloudWatch Events.
-
-
-
Method Detail
-
setEventId
public void setEventId(String eventId)
The ID of the event submitted to Amazon CloudWatch Events.
- Parameters:
eventId- The ID of the event submitted to Amazon CloudWatch Events.
-
getEventId
public String getEventId()
The ID of the event submitted to Amazon CloudWatch Events.
- Returns:
- The ID of the event submitted to Amazon CloudWatch Events.
-
withEventId
public PutEventsResultEntry withEventId(String eventId)
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
public void setErrorCode(String errorCode)
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
public String 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
public PutEventsResultEntry withErrorCode(String errorCode)
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
public void setErrorMessage(String errorMessage)
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
public String 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
public PutEventsResultEntry withErrorMessage(String errorMessage)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutEventsResultEntry clone()
-
-