public class LambdaFunctionCompletedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details for the LambdaFunctionCompleted
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
result
The result of the function execution (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 |
---|
LambdaFunctionCompletedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
LambdaFunctionCompletedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResult()
The result of the function execution (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 |
setResult(java.lang.String result)
The result of the function execution (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.
|
LambdaFunctionCompletedEventAttributes |
withResult(java.lang.String result)
The result of the function execution (if any).
|
LambdaFunctionCompletedEventAttributes |
withScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
LambdaFunctionCompletedEventAttributes |
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 result
The result of the function execution (if any).
public LambdaFunctionCompletedEventAttributes()
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 LambdaFunctionCompletedEventAttributes 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 LambdaFunctionCompletedEventAttributes 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 setResult(java.lang.String result)
The result of the function execution (if any).
result
- The result of the function execution (if any).public java.lang.String getResult()
The result of the function execution (if any).
public LambdaFunctionCompletedEventAttributes withResult(java.lang.String result)
The result of the function execution (if any).
result
- The result of the function execution (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 LambdaFunctionCompletedEventAttributes clone()
clone
in class java.lang.Object