Interface BatchGetTracesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetTracesResponse.Builder,
,BatchGetTracesResponse> SdkBuilder<BatchGetTracesResponse.Builder,
,BatchGetTracesResponse> SdkPojo
,SdkResponse.Builder
,XRayResponse.Builder
- Enclosing class:
BatchGetTracesResponse
@Mutable
@NotThreadSafe
public static interface BatchGetTracesResponse.Builder
extends XRayResponse.Builder, SdkPojo, CopyableBuilder<BatchGetTracesResponse.Builder,BatchGetTracesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionPagination token.traces
(Collection<Trace> traces) Full traces for the specified requests.traces
(Consumer<Trace.Builder>... traces) Full traces for the specified requests.Full traces for the specified requests.unprocessedTraceIds
(String... unprocessedTraceIds) Trace IDs of requests that haven't been processed.unprocessedTraceIds
(Collection<String> unprocessedTraceIds) Trace IDs of requests that haven't been processed.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 Details
-
traces
Full traces for the specified requests.
- Parameters:
traces
- Full traces for the specified requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traces
Full traces for the specified requests.
- Parameters:
traces
- Full traces for the specified requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traces
Full traces for the specified requests.
This is a convenience method that creates an instance of theTrace.Builder
avoiding the need to create one manually viaTrace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totraces(List<Trace>)
.- Parameters:
traces
- a consumer that will call methods onTrace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unprocessedTraceIds
Trace IDs of requests that haven't been processed.
- Parameters:
unprocessedTraceIds
- Trace IDs of requests that haven't been processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedTraceIds
Trace IDs of requests that haven't been processed.
- Parameters:
unprocessedTraceIds
- Trace IDs of requests that haven't been processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Pagination token.
- Parameters:
nextToken
- Pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-