@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartLambdaFunctionFailedEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of the StartLambdaFunctionFailed
event. It isn't set for other event types.
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()
A description that can help diagnose the cause of the fault.
|
Long |
getScheduledEventId()
The ID of the
ActivityTaskScheduled event that was recorded when this activity task was scheduled. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCause(StartLambdaFunctionFailedCause cause)
The cause of the failure.
|
void |
setCause(String cause)
The cause of the failure.
|
void |
setMessage(String message)
A description that can help diagnose the cause of the fault.
|
void |
setScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded when this activity task 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)
A description that can help diagnose the cause of the fault.
|
StartLambdaFunctionFailedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded when this activity task was scheduled. |
public StartLambdaFunctionFailedEventAttributes()
public void setScheduledEventId(Long scheduledEventId)
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled.
To help diagnose issues, use this information to trace back the chain of events leading up to this event.
scheduledEventId
- The ID of the ActivityTaskScheduled
event that was recorded when this activity task was
scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to
this event.public Long getScheduledEventId()
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled.
To help diagnose issues, use this information to trace back the chain of events leading up to this event.
ActivityTaskScheduled
event that was recorded when this activity task was
scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to
this event.public StartLambdaFunctionFailedEventAttributes withScheduledEventId(Long scheduledEventId)
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled.
To help diagnose issues, use this information to trace back the chain of events leading up to this event.
scheduledEventId
- The ID of the ActivityTaskScheduled
event that was recorded when this activity task was
scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to
this event.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 the IAM role
attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks 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 the IAM
role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the
Amazon SWF Developer Guide.
StartLambdaFunctionFailedCause
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 the IAM role
attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the
Amazon SWF Developer Guide.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because the IAM
role attached to the execution lacked sufficient permissions. For details and example IAM policies, see
Lambda Tasks in
the Amazon SWF Developer Guide.
StartLambdaFunctionFailedCause
public StartLambdaFunctionFailedEventAttributes 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 the IAM role
attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks 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 the IAM
role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the
Amazon SWF Developer Guide.
StartLambdaFunctionFailedCause
public void setCause(StartLambdaFunctionFailedCause 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 the IAM role
attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks 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 the IAM
role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the
Amazon SWF Developer Guide.
StartLambdaFunctionFailedCause
public StartLambdaFunctionFailedEventAttributes withCause(StartLambdaFunctionFailedCause 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 the IAM role
attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks 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 the IAM
role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the
Amazon SWF Developer Guide.
StartLambdaFunctionFailedCause
public void setMessage(String message)
A description that can help diagnose the cause of the fault.
message
- A description that can help diagnose the cause of the fault.public String getMessage()
A description that can help diagnose the cause of the fault.
public StartLambdaFunctionFailedEventAttributes withMessage(String message)
A description that can help diagnose the cause of the fault.
message
- A description that can help diagnose the cause of the fault.public String toString()
toString
in class Object
Object.toString()
public StartLambdaFunctionFailedEventAttributes 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.