public class ScheduleLambdaFunctionFailedEventAttributes extends Object implements Serializable, Cloneable
Provides details for the ScheduleLambdaFunctionFailed
event.
Constructor and Description |
---|
ScheduleLambdaFunctionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ScheduleLambdaFunctionFailedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
The cause of the failure.
|
Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding
to the decision that resulted in the scheduling of this AWS Lambda
function. |
String |
getId()
The unique Amazon SWF ID of the AWS Lambda task.
|
String |
getName()
The name of the scheduled AWS Lambda function.
|
int |
hashCode() |
void |
setCause(ScheduleLambdaFunctionFailedCause cause)
The cause of the failure.
|
void |
setCause(String cause)
The cause of the failure.
|
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding
to the decision that resulted in the scheduling of this AWS Lambda
function. |
void |
setId(String id)
The unique Amazon SWF ID of the AWS Lambda task.
|
void |
setName(String name)
The name of the scheduled AWS Lambda function.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScheduleLambdaFunctionFailedEventAttributes |
withCause(ScheduleLambdaFunctionFailedCause cause)
The cause of the failure.
|
ScheduleLambdaFunctionFailedEventAttributes |
withCause(String cause)
The cause of the failure.
|
ScheduleLambdaFunctionFailedEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding
to the decision that resulted in the scheduling of this AWS Lambda
function. |
ScheduleLambdaFunctionFailedEventAttributes |
withId(String id)
The unique Amazon SWF ID of the AWS Lambda task.
|
ScheduleLambdaFunctionFailedEventAttributes |
withName(String name)
The name of the scheduled AWS Lambda function.
|
public ScheduleLambdaFunctionFailedEventAttributes()
public String getId()
Constraints:
Length: 1 - 256
public void setId(String id)
Constraints:
Length: 1 - 256
id
- The unique Amazon SWF ID of the AWS Lambda task.public ScheduleLambdaFunctionFailedEventAttributes withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
id
- The unique Amazon SWF ID of the AWS Lambda task.public String getName()
Constraints:
Length: 1 - 64
public void setName(String name)
Constraints:
Length: 1 - 64
name
- The name of the scheduled AWS Lambda function.public ScheduleLambdaFunctionFailedEventAttributes withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
name
- The name of the scheduled AWS Lambda function.public String getCause()
Constraints:
Allowed Values: ID_ALREADY_IN_USE, OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED, LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED, LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION
ScheduleLambdaFunctionFailedCause
public void setCause(String cause)
Constraints:
Allowed Values: ID_ALREADY_IN_USE, OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED, LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED, LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. ScheduleLambdaFunctionFailedCause
public ScheduleLambdaFunctionFailedEventAttributes withCause(String cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ID_ALREADY_IN_USE, OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED, LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED, LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. ScheduleLambdaFunctionFailedCause
public void setCause(ScheduleLambdaFunctionFailedCause cause)
Constraints:
Allowed Values: ID_ALREADY_IN_USE, OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED, LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED, LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. ScheduleLambdaFunctionFailedCause
public ScheduleLambdaFunctionFailedEventAttributes withCause(ScheduleLambdaFunctionFailedCause cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ID_ALREADY_IN_USE, OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED, LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED, LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. ScheduleLambdaFunctionFailedCause
public Long getDecisionTaskCompletedEventId()
DecisionTaskCompleted
event corresponding
to the decision that resulted in the scheduling of this AWS Lambda
function. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.DecisionTaskCompleted
event corresponding
to the decision that resulted in the scheduling of this AWS Lambda
function. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted
event corresponding
to the decision that resulted in the scheduling of this AWS Lambda
function. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding
to the decision that resulted in the scheduling of this AWS Lambda
function. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.public ScheduleLambdaFunctionFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted
event corresponding
to the decision that resulted in the scheduling of this AWS Lambda
function. 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.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding
to the decision that resulted in the scheduling of this AWS Lambda
function. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.public String toString()
toString
in class Object
Object.toString()
public ScheduleLambdaFunctionFailedEventAttributes clone()
Copyright © 2015. All rights reserved.