public static interface Trace.Builder extends SdkPojo, CopyableBuilder<Trace.Builder,Trace>
| Modifier and Type | Method and Description |
|---|---|
Trace.Builder |
duration(Double duration)
The length of time in seconds between the start time of the root segment and the end time of the last segment
that completed.
|
Trace.Builder |
id(String id)
The unique identifier for the request that generated the trace's segments and subsegments.
|
Trace.Builder |
limitExceeded(Boolean limitExceeded)
LimitExceeded is set to true when the trace has exceeded one of the defined quotas.
|
Trace.Builder |
segments(Collection<Segment> segments)
Segment documents for the segments and subsegments that comprise the trace.
|
Trace.Builder |
segments(Consumer<Segment.Builder>... segments)
Segment documents for the segments and subsegments that comprise the trace.
|
Trace.Builder |
segments(Segment... segments)
Segment documents for the segments and subsegments that comprise the trace.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTrace.Builder id(String id)
The unique identifier for the request that generated the trace's segments and subsegments.
id - The unique identifier for the request that generated the trace's segments and subsegments.Trace.Builder duration(Double duration)
The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.
duration - The length of time in seconds between the start time of the root segment and the end time of the last
segment that completed.Trace.Builder limitExceeded(Boolean limitExceeded)
LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For more information about quotas, see Amazon Web Services X-Ray endpoints and quotas.
limitExceeded - LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For more
information about quotas, see Amazon
Web Services X-Ray endpoints and quotas.Trace.Builder segments(Collection<Segment> segments)
Segment documents for the segments and subsegments that comprise the trace.
segments - Segment documents for the segments and subsegments that comprise the trace.Trace.Builder segments(Segment... segments)
Segment documents for the segments and subsegments that comprise the trace.
segments - Segment documents for the segments and subsegments that comprise the trace.Trace.Builder segments(Consumer<Segment.Builder>... segments)
Segment documents for the segments and subsegments that comprise the trace.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #segments(List) .segments - a consumer that will call methods on List.Builder #segments(List) Copyright © 2022. All rights reserved.