Interface GetTraceSummariesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTraceSummariesResponse.Builder,
,GetTraceSummariesResponse> SdkBuilder<GetTraceSummariesResponse.Builder,
,GetTraceSummariesResponse> SdkPojo
,SdkResponse.Builder
,XRayResponse.Builder
- Enclosing class:
GetTraceSummariesResponse
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTime
(Instant approximateTime) The start time of this page of results.If the requested time frame contained more than one page of results, you can use this token to retrieve the next page.tracesProcessedCount
(Long tracesProcessedCount) The total number of traces processed, including traces that did not match the specified filter expression.traceSummaries
(Collection<TraceSummary> traceSummaries) Trace IDs and annotations for traces that were found in the specified time frame.traceSummaries
(Consumer<TraceSummary.Builder>... traceSummaries) Trace IDs and annotations for traces that were found in the specified time frame.traceSummaries
(TraceSummary... traceSummaries) Trace IDs and annotations for traces that were found in the specified time frame.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.xray.model.XRayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
traceSummaries
Trace IDs and annotations for traces that were found in the specified time frame.
- Parameters:
traceSummaries
- Trace IDs and annotations for traces that were found in the specified time frame.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceSummaries
Trace IDs and annotations for traces that were found in the specified time frame.
- Parameters:
traceSummaries
- Trace IDs and annotations for traces that were found in the specified time frame.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceSummaries
Trace IDs and annotations for traces that were found in the specified time frame.
This is a convenience method that creates an instance of theTraceSummary.Builder
avoiding the need to create one manually viaTraceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totraceSummaries(List<TraceSummary>)
.- Parameters:
traceSummaries
- a consumer that will call methods onTraceSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approximateTime
The start time of this page of results.
- Parameters:
approximateTime
- The start time of this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tracesProcessedCount
The total number of traces processed, including traces that did not match the specified filter expression.
- Parameters:
tracesProcessedCount
- The total number of traces processed, including traces that did not match the specified filter expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the requested time frame contained more than one page of results, you can use this token to retrieve the next page. The first page contains the most recent results, closest to the end of the time frame.
- Parameters:
nextToken
- If the requested time frame contained more than one page of results, you can use this token to retrieve the next page. The first page contains the most recent results, closest to the end of the time frame.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-