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.Builder
cause(String causeValue)
The cause of the failure.StartLambdaFunctionFailedEventAttributes.Builder
cause(StartLambdaFunctionFailedCause causeValue)
The cause of the failure.StartLambdaFunctionFailedEventAttributes.Builder
message(String message)
A description that can help diagnose the cause of the fault.StartLambdaFunctionFailedEventAttributes.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
scheduledEventId
StartLambdaFunctionFailedEventAttributes.Builder scheduledEventId(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.- 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
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
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:
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
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:
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.
-
-