Interface WorkerSessionSummary.Builder

  • Method Details

    • sessionId

      WorkerSessionSummary.Builder sessionId(String sessionId)

      The session ID for the session action.

      Parameters:
      sessionId - The session ID for the session action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queueId

      The queue ID for the queue associated to the worker.

      Parameters:
      queueId - The queue ID for the queue associated to the worker.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobId

      The job ID for the job associated with the worker's session.

      Parameters:
      jobId - The job ID for the job associated with the worker's session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      WorkerSessionSummary.Builder startedAt(Instant startedAt)

      The date and time the resource started running.

      Parameters:
      startedAt - The date and time the resource started running.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecycleStatus

      WorkerSessionSummary.Builder lifecycleStatus(String lifecycleStatus)

      The life cycle status for the worker's session.

      Parameters:
      lifecycleStatus - The life cycle status for the worker's session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lifecycleStatus

      WorkerSessionSummary.Builder lifecycleStatus(SessionLifecycleStatus lifecycleStatus)

      The life cycle status for the worker's session.

      Parameters:
      lifecycleStatus - The life cycle status for the worker's session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • endedAt

      The date and time the resource ended running.

      Parameters:
      endedAt - The date and time the resource ended running.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLifecycleStatus

      WorkerSessionSummary.Builder targetLifecycleStatus(String targetLifecycleStatus)

      The life cycle status

      Parameters:
      targetLifecycleStatus - The life cycle status
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetLifecycleStatus

      WorkerSessionSummary.Builder targetLifecycleStatus(SessionLifecycleTargetStatus targetLifecycleStatus)

      The life cycle status

      Parameters:
      targetLifecycleStatus - The life cycle status
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: