public class LambdaFunctionTimedOutEventAttributes extends Object implements Serializable, Cloneable
Provides details for the LambdaFunctionTimedOut event.
| Constructor and Description |
|---|
LambdaFunctionTimedOutEventAttributes() |
| Modifier and Type | Method and Description |
|---|---|
LambdaFunctionTimedOutEventAttributes |
clone() |
boolean |
equals(Object obj) |
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. |
String |
getTimeoutType()
The type of the timeout that caused this event.
|
int |
hashCode() |
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. |
void |
setTimeoutType(LambdaFunctionTimeoutType timeoutType)
The type of the timeout that caused this event.
|
void |
setTimeoutType(String timeoutType)
The type of the timeout that caused this event.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LambdaFunctionTimedOutEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
LambdaFunctionTimedOutEventAttributes |
withStartedEventId(Long startedEventId)
The ID of the
LambdaFunctionStarted event recorded in the
history. |
LambdaFunctionTimedOutEventAttributes |
withTimeoutType(LambdaFunctionTimeoutType timeoutType)
The type of the timeout that caused this event.
|
LambdaFunctionTimedOutEventAttributes |
withTimeoutType(String timeoutType)
The type of the timeout that caused this event.
|
public LambdaFunctionTimedOutEventAttributes()
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 LambdaFunctionTimedOutEventAttributes 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 LambdaFunctionTimedOutEventAttributes 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 getTimeoutType()
Constraints:
Allowed Values: START_TO_CLOSE
LambdaFunctionTimeoutTypepublic void setTimeoutType(String timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of the timeout that caused this event.LambdaFunctionTimeoutTypepublic LambdaFunctionTimedOutEventAttributes withTimeoutType(String timeoutType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of the timeout that caused this event.LambdaFunctionTimeoutTypepublic void setTimeoutType(LambdaFunctionTimeoutType timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of the timeout that caused this event.LambdaFunctionTimeoutTypepublic LambdaFunctionTimedOutEventAttributes withTimeoutType(LambdaFunctionTimeoutType timeoutType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of the timeout that caused this event.LambdaFunctionTimeoutTypepublic String toString()
toString in class ObjectObject.toString()public LambdaFunctionTimedOutEventAttributes clone()
Copyright © 2015. All rights reserved.