Interface ActivityTaskStartedEventAttributes.Builder

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

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

    • identity

      Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.

      Parameters:
      identity - Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduledEventId

      ActivityTaskStartedEventAttributes.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.