public class LambdaFunctionFailedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details for the LambdaFunctionFailed
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
details
The details of the failure (if any).
|
private java.lang.String |
reason
The reason provided for the failure (if any).
|
private java.lang.Long |
scheduledEventId
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
private java.lang.Long |
startedEventId
The ID of the
LambdaFunctionStarted event recorded in the
history. |
Constructor and Description |
---|
LambdaFunctionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
LambdaFunctionFailedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDetails()
The details of the failure (if any).
|
java.lang.String |
getReason()
The reason provided for the failure (if any).
|
java.lang.Long |
getScheduledEventId()
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
java.lang.Long |
getStartedEventId()
The ID of the
LambdaFunctionStarted event recorded in the
history. |
int |
hashCode() |
void |
setDetails(java.lang.String details)
The details of the failure (if any).
|
void |
setReason(java.lang.String reason)
The reason provided for the failure (if any).
|
void |
setScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
void |
setStartedEventId(java.lang.Long startedEventId)
The ID of the
LambdaFunctionStarted event recorded in the
history. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LambdaFunctionFailedEventAttributes |
withDetails(java.lang.String details)
The details of the failure (if any).
|
LambdaFunctionFailedEventAttributes |
withReason(java.lang.String reason)
The reason provided for the failure (if any).
|
LambdaFunctionFailedEventAttributes |
withScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
LambdaFunctionFailedEventAttributes |
withStartedEventId(java.lang.Long startedEventId)
The ID of the
LambdaFunctionStarted event recorded in the
history. |
private java.lang.Long scheduledEventId
The ID of the LambdaFunctionScheduled
event that was
recorded when this AWS Lambda function was scheduled. This information
can be useful for diagnosing problems by tracing back the chain of events
leading up to this event.
private java.lang.Long startedEventId
The ID of the LambdaFunctionStarted
event recorded in the
history.
private java.lang.String reason
The reason provided for the failure (if any).
private java.lang.String details
The details of the failure (if any).
public void setScheduledEventId(java.lang.Long scheduledEventId)
The ID of the LambdaFunctionScheduled
event that was
recorded when this AWS Lambda function was scheduled. This information
can be useful for diagnosing problems by tracing back the chain of events
leading up to this event.
scheduledEventId
- The ID of the LambdaFunctionScheduled
event that was
recorded when this AWS Lambda function was scheduled. This
information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public java.lang.Long getScheduledEventId()
The ID of the LambdaFunctionScheduled
event that was
recorded when this AWS Lambda function was scheduled. This information
can be useful for diagnosing problems by tracing back the chain of events
leading up to this event.
LambdaFunctionScheduled
event that was
recorded when this AWS Lambda function was scheduled. This
information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public LambdaFunctionFailedEventAttributes withScheduledEventId(java.lang.Long scheduledEventId)
The ID of the LambdaFunctionScheduled
event that was
recorded when this AWS Lambda function was scheduled. This information
can be useful for diagnosing problems by tracing back the chain of events
leading up to this event.
scheduledEventId
- The ID of the LambdaFunctionScheduled
event that was
recorded when this AWS Lambda function was scheduled. This
information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public void setStartedEventId(java.lang.Long startedEventId)
The ID of the LambdaFunctionStarted
event recorded in the
history.
startedEventId
- The ID of the LambdaFunctionStarted
event recorded in
the history.public java.lang.Long getStartedEventId()
The ID of the LambdaFunctionStarted
event recorded in the
history.
LambdaFunctionStarted
event recorded
in the history.public LambdaFunctionFailedEventAttributes withStartedEventId(java.lang.Long startedEventId)
The ID of the LambdaFunctionStarted
event recorded in the
history.
startedEventId
- The ID of the LambdaFunctionStarted
event recorded in
the history.public void setReason(java.lang.String reason)
The reason provided for the failure (if any).
reason
- The reason provided for the failure (if any).public java.lang.String getReason()
The reason provided for the failure (if any).
public LambdaFunctionFailedEventAttributes withReason(java.lang.String reason)
The reason provided for the failure (if any).
reason
- The reason provided for the failure (if any).public void setDetails(java.lang.String details)
The details of the failure (if any).
details
- The details of the failure (if any).public java.lang.String getDetails()
The details of the failure (if any).
public LambdaFunctionFailedEventAttributes withDetails(java.lang.String details)
The details of the failure (if any).
details
- The details of the failure (if any).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 LambdaFunctionFailedEventAttributes clone()
clone
in class java.lang.Object