Interface ScheduleLambdaFunctionFailedEventAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduleLambdaFunctionFailedEventAttributes.Builder,ScheduleLambdaFunctionFailedEventAttributes>,SdkBuilder<ScheduleLambdaFunctionFailedEventAttributes.Builder,ScheduleLambdaFunctionFailedEventAttributes>,SdkPojo
- Enclosing class:
- ScheduleLambdaFunctionFailedEventAttributes
@Mutable @NotThreadSafe public static interface ScheduleLambdaFunctionFailedEventAttributes.Builder extends SdkPojo, CopyableBuilder<ScheduleLambdaFunctionFailedEventAttributes.Builder,ScheduleLambdaFunctionFailedEventAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduleLambdaFunctionFailedEventAttributes.Buildercause(String causeValue)The cause of the failure.ScheduleLambdaFunctionFailedEventAttributes.Buildercause(ScheduleLambdaFunctionFailedCause causeValue)The cause of the failure.ScheduleLambdaFunctionFailedEventAttributes.BuilderdecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)The ID of theLambdaFunctionCompletedevent corresponding to the decision that resulted in scheduling this Lambda task.ScheduleLambdaFunctionFailedEventAttributes.Builderid(String id)The ID provided in theScheduleLambdaFunctiondecision that failed.ScheduleLambdaFunctionFailedEventAttributes.Buildername(String name)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
ScheduleLambdaFunctionFailedEventAttributes.Builder id(String id)
The ID provided in the
ScheduleLambdaFunctiondecision that failed.- Parameters:
id- The ID provided in theScheduleLambdaFunctiondecision that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ScheduleLambdaFunctionFailedEventAttributes.Builder name(String 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
ScheduleLambdaFunctionFailedEventAttributes.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 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
causeis 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:
ScheduleLambdaFunctionFailedCause,ScheduleLambdaFunctionFailedCause
-
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
causeis 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
causeis 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:
ScheduleLambdaFunctionFailedCause,ScheduleLambdaFunctionFailedCause
-
decisionTaskCompletedEventId
ScheduleLambdaFunctionFailedEventAttributes.Builder decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
LambdaFunctionCompletedevent 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 theLambdaFunctionCompletedevent 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.
-
-