@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduleLambdaFunctionFailedEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of the ScheduleLambdaFunctionFailed
event. It isn't set for other event types.
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
LambdaFunctionCompleted event corresponding to the decision that resulted in
scheduling this Lambda task. |
String |
getId()
The ID provided in the
ScheduleLambdaFunction decision that failed. |
String |
getName()
The name of the Lambda function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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
LambdaFunctionCompleted event corresponding to the decision that resulted in
scheduling this Lambda task. |
void |
setId(String id)
The ID provided in the
ScheduleLambdaFunction decision that failed. |
void |
setName(String name)
The name of the 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
LambdaFunctionCompleted event corresponding to the decision that resulted in
scheduling this Lambda task. |
ScheduleLambdaFunctionFailedEventAttributes |
withId(String id)
The ID provided in the
ScheduleLambdaFunction decision that failed. |
ScheduleLambdaFunctionFailedEventAttributes |
withName(String name)
The name of the Lambda function.
|
public ScheduleLambdaFunctionFailedEventAttributes()
public void setId(String id)
The ID provided in the ScheduleLambdaFunction
decision that failed.
id
- The ID provided in the ScheduleLambdaFunction
decision that failed.public String getId()
The ID provided in the ScheduleLambdaFunction
decision that failed.
ScheduleLambdaFunction
decision that failed.public ScheduleLambdaFunctionFailedEventAttributes withId(String id)
The ID provided in the ScheduleLambdaFunction
decision that failed.
id
- The ID provided in the ScheduleLambdaFunction
decision that failed.public void setName(String name)
The name of the Lambda function.
name
- The name of the Lambda function.public String getName()
The name of the Lambda function.
public ScheduleLambdaFunctionFailedEventAttributes withName(String name)
The name of the Lambda function.
name
- The name of the Lambda function.public void setCause(String cause)
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked
sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to
Amazon SWF Workflows in the Amazon SWF Developer Guide.
cause
- The cause of the failure. To help diagnose issues, use this information to trace back the chain of events
leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it
lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage
Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
ScheduleLambdaFunctionFailedCause
public String getCause()
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked
sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to
Amazon SWF Workflows in the Amazon SWF Developer Guide.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it
lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage
Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
ScheduleLambdaFunctionFailedCause
public ScheduleLambdaFunctionFailedEventAttributes withCause(String cause)
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked
sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to
Amazon SWF Workflows in the Amazon SWF Developer Guide.
cause
- The cause of the failure. To help diagnose issues, use this information to trace back the chain of events
leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it
lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage
Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
ScheduleLambdaFunctionFailedCause
public void setCause(ScheduleLambdaFunctionFailedCause cause)
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked
sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to
Amazon SWF Workflows in the Amazon SWF Developer Guide.
cause
- The cause of the failure. To help diagnose issues, use this information to trace back the chain of events
leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it
lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage
Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
ScheduleLambdaFunctionFailedCause
public ScheduleLambdaFunctionFailedEventAttributes withCause(ScheduleLambdaFunctionFailedCause cause)
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked
sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to
Amazon SWF Workflows in the Amazon SWF Developer Guide.
cause
- The cause of the failure. To help diagnose issues, use this information to trace back the chain of events
leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it
lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage
Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
ScheduleLambdaFunctionFailedCause
public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in
scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events
leading up to this event.
decisionTaskCompletedEventId
- The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in
scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of
events leading up to this event.public Long getDecisionTaskCompletedEventId()
The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in
scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events
leading up to this event.
LambdaFunctionCompleted
event corresponding to the decision that resulted in
scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of
events leading up to this event.public ScheduleLambdaFunctionFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in
scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events
leading up to this event.
decisionTaskCompletedEventId
- The ID of the LambdaFunctionCompleted
event corresponding to the decision that resulted in
scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of
events leading up to this event.public String toString()
toString
in class Object
Object.toString()
public ScheduleLambdaFunctionFailedEventAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.