public class StartLambdaFunctionFailedEventAttributes extends Object implements Serializable, Cloneable
Provides details for the StartLambdaFunctionFailed
event.
Constructor and Description |
---|
StartLambdaFunctionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
StartLambdaFunctionFailedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
The cause of the failure.
|
String |
getMessage()
The error message (if any).
|
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(String cause)
The cause of the failure.
|
void |
setMessage(String message)
The error message (if any).
|
void |
setScheduledEventId(Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
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(String cause)
The cause of the failure.
|
StartLambdaFunctionFailedEventAttributes |
withMessage(String message)
The error message (if any).
|
StartLambdaFunctionFailedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
LambdaFunctionScheduled event that was
recorded when this AWS Lambda function was scheduled. |
public StartLambdaFunctionFailedEventAttributes()
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 StartLambdaFunctionFailedEventAttributes 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 String getCause()
Constraints:
Allowed Values: ASSUME_ROLE_FAILED
StartLambdaFunctionFailedCause
public void setCause(String cause)
Constraints:
Allowed Values: ASSUME_ROLE_FAILED
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. StartLambdaFunctionFailedCause
public StartLambdaFunctionFailedEventAttributes withCause(String cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ASSUME_ROLE_FAILED
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)
Constraints:
Allowed Values: ASSUME_ROLE_FAILED
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)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ASSUME_ROLE_FAILED
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. StartLambdaFunctionFailedCause
public String getMessage()
Constraints:
Length: 0 - 1728
public void setMessage(String message)
Constraints:
Length: 0 - 1728
message
- The error message (if any).public StartLambdaFunctionFailedEventAttributes withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1728
message
- The error message (if any).public String toString()
toString
in class Object
Object.toString()
public StartLambdaFunctionFailedEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.