Interface ActSummary.Builder

  • Method Details

    • workflowRunId

      ActSummary.Builder workflowRunId(String workflowRunId)

      The unique identifier of the workflow run containing this act.

      Parameters:
      workflowRunId - The unique identifier of the workflow run containing this act.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionId

      ActSummary.Builder sessionId(String sessionId)

      The unique identifier of the session containing this act.

      Parameters:
      sessionId - The unique identifier of the session containing this act.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actId

      ActSummary.Builder actId(String actId)

      The unique identifier of the act.

      Parameters:
      actId - The unique identifier of the act.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      ActSummary.Builder status(String status)

      The current execution status of the act.

      Parameters:
      status - The current execution status of the act.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      ActSummary.Builder status(ActStatus status)

      The current execution status of the act.

      Parameters:
      status - The current execution status of the act.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startedAt

      ActSummary.Builder startedAt(Instant startedAt)

      The timestamp when the act started execution.

      Parameters:
      startedAt - The timestamp when the act started execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedAt

      ActSummary.Builder endedAt(Instant endedAt)

      The timestamp when the act completed execution, if applicable.

      Parameters:
      endedAt - The timestamp when the act completed execution, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceLocation

      ActSummary.Builder traceLocation(TraceLocation traceLocation)

      The location where trace information for this act is stored.

      Parameters:
      traceLocation - The location where trace information for this act is stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceLocation

      default ActSummary.Builder traceLocation(Consumer<TraceLocation.Builder> traceLocation)

      The location where trace information for this act is stored.

      This is a convenience method that creates an instance of the TraceLocation.Builder avoiding the need to create one manually via TraceLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to traceLocation(TraceLocation).

      Parameters:
      traceLocation - a consumer that will call methods on TraceLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: