Interface ListSpansResponse.Builder

  • Method Details

    • spans

      Array of span objects for the session

      Parameters:
      spans - Array of span objects for the session
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spans

      Array of span objects for the session

      Parameters:
      spans - Array of span objects for the session
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spans

      Array of span objects for the session

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to spans(List<Span>).

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

      ListSpansResponse.Builder nextToken(String nextToken)

      Pagination token for retrieving additional results

      Parameters:
      nextToken - Pagination token for retrieving additional results
      Returns:
      Returns a reference to this object so that method calls can be chained together.