public class StartLambdaFunctionFailedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details for the StartLambdaFunctionFailed
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cause
The cause of the failure.
|
private java.lang.String |
message
The error message (if any).
|
private java.lang.Long |
scheduledEventId
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
Constructor and Description |
---|
StartLambdaFunctionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
StartLambdaFunctionFailedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCause()
The cause of the failure.
|
java.lang.String |
getMessage()
The error message (if any).
|
java.lang.Long |
getScheduledEventId()
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
int |
hashCode() |
void |
setCause(StartLambdaFunctionFailedCause cause)
The cause of the failure.
|
void |
setCause(java.lang.String cause)
The cause of the failure.
|
void |
setMessage(java.lang.String message)
The error message (if any).
|
void |
setScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartLambdaFunctionFailedEventAttributes |
withCause(StartLambdaFunctionFailedCause cause)
The cause of the failure.
|
StartLambdaFunctionFailedEventAttributes |
withCause(java.lang.String cause)
The cause of the failure.
|
StartLambdaFunctionFailedEventAttributes |
withMessage(java.lang.String message)
The error message (if any).
|
StartLambdaFunctionFailedEventAttributes |
withScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
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.String cause
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
private java.lang.String message
The error message (if any).
public StartLambdaFunctionFailedEventAttributes()
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 StartLambdaFunctionFailedEventAttributes 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 setCause(java.lang.String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. StartLambdaFunctionFailedCause
public java.lang.String getCause()
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
StartLambdaFunctionFailedCause
public StartLambdaFunctionFailedEventAttributes withCause(java.lang.String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. StartLambdaFunctionFailedCause
public void setCause(StartLambdaFunctionFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. StartLambdaFunctionFailedCause
public StartLambdaFunctionFailedEventAttributes withCause(StartLambdaFunctionFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. StartLambdaFunctionFailedCause
public void setMessage(java.lang.String message)
The error message (if any).
message
- The error message (if any).public java.lang.String getMessage()
The error message (if any).
public StartLambdaFunctionFailedEventAttributes withMessage(java.lang.String message)
The error message (if any).
message
- The error message (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 StartLambdaFunctionFailedEventAttributes clone()
clone
in class java.lang.Object