Interface ScheduleLambdaFunctionFailedEventAttributes.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduleLambdaFunctionFailedEventAttributes.Builder,ScheduleLambdaFunctionFailedEventAttributes>
,SdkBuilder<ScheduleLambdaFunctionFailedEventAttributes.Builder,ScheduleLambdaFunctionFailedEventAttributes>
,SdkPojo
- Enclosing class:
- ScheduleLambdaFunctionFailedEventAttributes
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.Builder
cause(String causeValue)
The cause of the failure.ScheduleLambdaFunctionFailedEventAttributes.Builder
cause(ScheduleLambdaFunctionFailedCause causeValue)
The cause of the failure.ScheduleLambdaFunctionFailedEventAttributes.Builder
decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of theLambdaFunctionCompleted
event corresponding to the decision that resulted in scheduling this Lambda task.ScheduleLambdaFunctionFailedEventAttributes.Builder
id(String id)
The ID provided in theScheduleLambdaFunction
decision that failed.ScheduleLambdaFunctionFailedEventAttributes.Builder
name(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
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
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
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:
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
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:
ScheduleLambdaFunctionFailedCause
,ScheduleLambdaFunctionFailedCause
-
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.
-
-