@Generated(value="software.amazon.awssdk:codegen") public final class Trace extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Trace.Builder,Trace>
A collection of segment documents with matching trace IDs.
Modifier and Type | Class and Description |
---|---|
static interface |
Trace.Builder |
Modifier and Type | Method and Description |
---|---|
static Trace.Builder |
builder() |
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.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the request that generated the trace's segments and subsegments.
|
List<SdkField<?>> |
sdkFields() |
List<Segment> |
segments()
Segment documents for the segments and subsegments that comprise the trace.
|
static Class<? extends Trace.Builder> |
serializableBuilderClass() |
Trace.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The unique identifier for the request that generated the trace's segments and subsegments.
public 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.
public List<Segment> segments()
Segment documents for the segments and subsegments that comprise the trace.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Trace.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Trace.Builder,Trace>
public static Trace.Builder builder()
public static Class<? extends Trace.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.