public class LambdaFunctionFailedEventAttributes extends Object implements Serializable, Cloneable
Provides details for the LambdaFunctionFailed
event.
Constructor and Description |
---|
LambdaFunctionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
LambdaFunctionFailedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getDetails()
The details of the failure (if any).
|
String |
getReason()
The reason provided for the failure (if any).
|
Long |
getScheduledEventId()
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
Long |
getStartedEventId()
The ID of the
LambdaFunctionStarted event recorded in the
history. |
int |
hashCode() |
void |
setDetails(String details)
The details of the failure (if any).
|
void |
setReason(String reason)
The reason provided for the failure (if any).
|
void |
setScheduledEventId(Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
void |
setStartedEventId(Long startedEventId)
The ID of the
LambdaFunctionStarted event recorded in the
history. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LambdaFunctionFailedEventAttributes |
withDetails(String details)
The details of the failure (if any).
|
LambdaFunctionFailedEventAttributes |
withReason(String reason)
The reason provided for the failure (if any).
|
LambdaFunctionFailedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
LambdaFunctionFailedEventAttributes |
withStartedEventId(Long startedEventId)
The ID of the
LambdaFunctionStarted event recorded in the
history. |
public void setScheduledEventId(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 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(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(Long startedEventId)
The ID of the LambdaFunctionStarted
event recorded in the
history.
startedEventId
- The ID of the LambdaFunctionStarted
event recorded in
the history.public Long getStartedEventId()
The ID of the LambdaFunctionStarted
event recorded in the
history.
LambdaFunctionStarted
event recorded
in the history.public LambdaFunctionFailedEventAttributes withStartedEventId(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(String reason)
The reason provided for the failure (if any).
reason
- The reason provided for the failure (if any).public String getReason()
The reason provided for the failure (if any).
public LambdaFunctionFailedEventAttributes withReason(String reason)
The reason provided for the failure (if any).
reason
- The reason provided for the failure (if any).public void setDetails(String details)
The details of the failure (if any).
details
- The details of the failure (if any).public String getDetails()
The details of the failure (if any).
public LambdaFunctionFailedEventAttributes withDetails(String details)
The details of the failure (if any).
details
- The details of the failure (if any).public String toString()
toString
in class Object
Object.toString()
public LambdaFunctionFailedEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.