Interface GetTraceSummariesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTraceSummariesResponse.Builder,GetTraceSummariesResponse>,SdkBuilder<GetTraceSummariesResponse.Builder,GetTraceSummariesResponse>,SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
- GetTraceSummariesResponse
@Mutable @NotThreadSafe public static interface GetTraceSummariesResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetTraceSummariesResponse.Builder,GetTraceSummariesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetTraceSummariesResponse.BuilderapproximateTime(Instant approximateTime)The start time of this page of results.GetTraceSummariesResponse.BuildernextToken(String nextToken)If the requested time frame contained more than one page of results, you can use this token to retrieve the next page.GetTraceSummariesResponse.BuildertracesProcessedCount(Long tracesProcessedCount)The total number of traces processed, including traces that did not match the specified filter expression.GetTraceSummariesResponse.BuildertraceSummaries(Collection<TraceSummary> traceSummaries)Trace IDs and annotations for traces that were found in the specified time frame.GetTraceSummariesResponse.BuildertraceSummaries(Consumer<TraceSummary.Builder>... traceSummaries)Trace IDs and annotations for traces that were found in the specified time frame.GetTraceSummariesResponse.BuildertraceSummaries(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, sdkFieldNameToField, 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 Detail
-
traceSummaries
GetTraceSummariesResponse.Builder traceSummaries(Collection<TraceSummary> 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
GetTraceSummariesResponse.Builder traceSummaries(TraceSummary... 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
GetTraceSummariesResponse.Builder traceSummaries(Consumer<TraceSummary.Builder>... 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.Builderavoiding the need to create one manually viaTraceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#traceSummaries(List.) - 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:
#traceSummaries(java.util.Collection)
-
approximateTime
GetTraceSummariesResponse.Builder approximateTime(Instant 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
GetTraceSummariesResponse.Builder tracesProcessedCount(Long 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
GetTraceSummariesResponse.Builder nextToken(String 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.
-
-