public class LambdaFunctionCompletedEventAttributes extends Object implements Serializable, Cloneable
Provides details for the LambdaFunctionCompleted
event.
Constructor and Description |
---|
LambdaFunctionCompletedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
LambdaFunctionCompletedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getResult()
The result of the function execution (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 |
setResult(String result)
The result of the function execution (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.
|
LambdaFunctionCompletedEventAttributes |
withResult(String result)
The result of the function execution (if any).
|
LambdaFunctionCompletedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
LambdaFunctionCompletedEventAttributes |
withStartedEventId(Long startedEventId)
The ID of the
LambdaFunctionStarted event recorded in the
history. |
public LambdaFunctionCompletedEventAttributes()
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 LambdaFunctionCompletedEventAttributes 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 LambdaFunctionCompletedEventAttributes 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 getResult()
Constraints:
Length: 0 - 32768
public void setResult(String result)
Constraints:
Length: 0 - 32768
result
- The result of the function execution (if any).public LambdaFunctionCompletedEventAttributes withResult(String result)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
result
- The result of the function execution (if any).public String toString()
toString
in class Object
Object.toString()
public LambdaFunctionCompletedEventAttributes clone()
Copyright © 2015. All rights reserved.