Interface ScheduleLambdaFunctionFailedEventAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduleLambdaFunctionFailedEventAttributes.Builder,
,ScheduleLambdaFunctionFailedEventAttributes> SdkBuilder<ScheduleLambdaFunctionFailedEventAttributes.Builder,
,ScheduleLambdaFunctionFailedEventAttributes> SdkPojo
- Enclosing class:
ScheduleLambdaFunctionFailedEventAttributes
-
Method Summary
Modifier and TypeMethodDescriptionThe cause of the failure.cause
(ScheduleLambdaFunctionFailedCause causeValue) The cause of the failure.decisionTaskCompletedEventId
(Long decisionTaskCompletedEventId) The ID of theLambdaFunctionCompleted
event corresponding to the decision that resulted in scheduling this Lambda task.The ID provided in theScheduleLambdaFunction
decision that failed.The name of the Lambda function.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
-
id
The ID provided in the
ScheduleLambdaFunction
decision that failed.- Parameters:
id
- The ID provided in theScheduleLambdaFunction
decision that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the Lambda function.
- Parameters:
name
- The name of the Lambda function.- 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 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.- 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 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cause
ScheduleLambdaFunctionFailedEventAttributes.Builder cause(ScheduleLambdaFunctionFailedCause 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 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.- 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 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
decisionTaskCompletedEventId
ScheduleLambdaFunctionFailedEventAttributes.Builder decisionTaskCompletedEventId(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.- Parameters:
decisionTaskCompletedEventId
- The ID of theLambdaFunctionCompleted
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-