Interface GetServiceGraphResponse.Builder

    • Method Detail

      • startTime

        GetServiceGraphResponse.Builder startTime​(Instant startTime)

        The start of the time frame for which the graph was generated.

        Parameters:
        startTime - The start of the time frame for which the graph was generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        GetServiceGraphResponse.Builder endTime​(Instant endTime)

        The end of the time frame for which the graph was generated.

        Parameters:
        endTime - The end of the time frame for which the graph was generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • services

        GetServiceGraphResponse.Builder services​(Collection<Service> services)

        The services that have processed a traced request during the specified time frame.

        Parameters:
        services - The services that have processed a traced request during the specified time frame.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • services

        GetServiceGraphResponse.Builder services​(Service... services)

        The services that have processed a traced request during the specified time frame.

        Parameters:
        services - The services that have processed a traced request during the specified time frame.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • services

        GetServiceGraphResponse.Builder services​(Consumer<Service.Builder>... services)

        The services that have processed a traced request during the specified time frame.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #services(List).

        Parameters:
        services - a consumer that will call methods on Service.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #services(java.util.Collection)
      • containsOldGroupVersions

        GetServiceGraphResponse.Builder containsOldGroupVersions​(Boolean containsOldGroupVersions)

        A flag indicating whether the group's filter expression has been consistent, or if the returned service graph may show traces from an older version of the group's filter expression.

        Parameters:
        containsOldGroupVersions - A flag indicating whether the group's filter expression has been consistent, or if the returned service graph may show traces from an older version of the group's filter expression.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetServiceGraphResponse.Builder nextToken​(String nextToken)

        Pagination token.

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