Interface ActivityTaskCompletedEventAttributes.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ActivityTaskCompletedEventAttributes.Builder,ActivityTaskCompletedEventAttributes>, SdkBuilder<ActivityTaskCompletedEventAttributes.Builder,ActivityTaskCompletedEventAttributes>, SdkPojo
Enclosing class:
ActivityTaskCompletedEventAttributes

public static interface ActivityTaskCompletedEventAttributes.Builder extends SdkPojo, CopyableBuilder<ActivityTaskCompletedEventAttributes.Builder,ActivityTaskCompletedEventAttributes>
  • Method Details

    • result

      The results of the activity task.

      Parameters:
      result - The results of the activity task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduledEventId

      ActivityTaskCompletedEventAttributes.Builder scheduledEventId(Long scheduledEventId)

      The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing 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. This information can be useful for diagnosing problems by tracing 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.
    • startedEventId

      ActivityTaskCompletedEventAttributes.Builder startedEventId(Long startedEventId)

      The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

      Parameters:
      startedEventId - The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing 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.