Interface StartLambdaFunctionFailedEventAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StartLambdaFunctionFailedEventAttributes.Builder,StartLambdaFunctionFailedEventAttributes>,SdkBuilder<StartLambdaFunctionFailedEventAttributes.Builder,StartLambdaFunctionFailedEventAttributes>,SdkPojo
- Enclosing class:
- StartLambdaFunctionFailedEventAttributes
public static interface StartLambdaFunctionFailedEventAttributes.Builder extends SdkPojo, CopyableBuilder<StartLambdaFunctionFailedEventAttributes.Builder,StartLambdaFunctionFailedEventAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartLambdaFunctionFailedEventAttributes.Buildercause(String causeValue)The cause of the failure.StartLambdaFunctionFailedEventAttributes.Buildercause(StartLambdaFunctionFailedCause causeValue)The cause of the failure.StartLambdaFunctionFailedEventAttributes.Buildermessage(String message)A description that can help diagnose the cause of the fault.StartLambdaFunctionFailedEventAttributes.BuilderscheduledEventId(Long scheduledEventId)The ID of theActivityTaskScheduledevent 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
scheduledEventId
StartLambdaFunctionFailedEventAttributes.Builder scheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduledevent 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 theActivityTaskScheduledevent 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
StartLambdaFunctionFailedEventAttributes.Builder cause(String 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
causeis 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
causeis 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:
StartLambdaFunctionFailedCause,StartLambdaFunctionFailedCause
-
cause
StartLambdaFunctionFailedEventAttributes.Builder cause(StartLambdaFunctionFailedCause 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
causeis 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
causeis 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:
StartLambdaFunctionFailedCause,StartLambdaFunctionFailedCause
-
message
StartLambdaFunctionFailedEventAttributes.Builder message(String 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.
-
-