Interface StartLambdaFunctionFailedEventAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StartLambdaFunctionFailedEventAttributes.Builder,
,StartLambdaFunctionFailedEventAttributes> SdkBuilder<StartLambdaFunctionFailedEventAttributes.Builder,
,StartLambdaFunctionFailedEventAttributes> SdkPojo
- Enclosing class:
StartLambdaFunctionFailedEventAttributes
-
Method Summary
Modifier and TypeMethodDescriptionThe cause of the failure.cause
(StartLambdaFunctionFailedCause causeValue) The cause of the failure.A description that can help diagnose the cause of the fault.scheduledEventId
(Long scheduledEventId) The ID of theActivityTaskScheduled
event that was recorded when this activity task was scheduled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.- Parameters:
scheduledEventId
- The ID of theActivityTaskScheduled
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 toOPERATION_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.- Parameters:
causeValue
- 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 toOPERATION_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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 toOPERATION_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.- Parameters:
causeValue
- 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 toOPERATION_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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A description that can help diagnose the cause of the fault.
- Parameters:
message
- A description that can help diagnose the cause of the fault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-