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 Details

    • 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 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.
      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 to OPERATION_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 to OPERATION_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:
    • 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 to OPERATION_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 to OPERATION_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:
    • 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.