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 Long getScheduledEventId()
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 void setScheduledEventId(Long scheduledEventId)
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 LambdaFunctionFailedEventAttributes withScheduledEventId(Long scheduledEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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 getStartedEventId()
LambdaFunctionStarted
event recorded in the
history.LambdaFunctionStarted
event recorded in the
history.public void setStartedEventId(Long startedEventId)
LambdaFunctionStarted
event recorded in the
history.startedEventId
- The ID of the LambdaFunctionStarted
event recorded in the
history.public LambdaFunctionFailedEventAttributes withStartedEventId(Long startedEventId)
LambdaFunctionStarted
event recorded in the
history.
Returns a reference to this object so that method calls can be chained together.
startedEventId
- The ID of the LambdaFunctionStarted
event recorded in the
history.public String getReason()
Constraints:
Length: 0 - 256
public void setReason(String reason)
Constraints:
Length: 0 - 256
reason
- The reason provided for the failure (if any).public LambdaFunctionFailedEventAttributes withReason(String reason)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
reason
- The reason provided for the failure (if any).public String getDetails()
Constraints:
Length: 0 - 32768
public void setDetails(String details)
Constraints:
Length: 0 - 32768
details
- The details of the failure (if any).public LambdaFunctionFailedEventAttributes withDetails(String details)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
details
- The details of the failure (if any).public String toString()
toString
in class Object
Object.toString()
public LambdaFunctionFailedEventAttributes clone()
Copyright © 2015. All rights reserved.