Interface FlowTraceDependencyEvent.Builder

  • Method Details

    • nodeName

      The name of the node that generated the dependency trace.

      Parameters:
      nodeName - The name of the node that generated the dependency trace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      The date and time that the dependency trace was generated.

      Parameters:
      timestamp - The date and time that the dependency trace was generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceElements

      FlowTraceDependencyEvent.Builder traceElements(TraceElements traceElements)

      The trace elements containing detailed information about the dependency.

      Parameters:
      traceElements - The trace elements containing detailed information about the dependency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceElements

      default FlowTraceDependencyEvent.Builder traceElements(Consumer<TraceElements.Builder> traceElements)

      The trace elements containing detailed information about the dependency.

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

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

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