StructuredPojo
, ToCopyableBuilder<Trace.Builder,Trace>
@Generated("software.amazon.awssdk:codegen") public class Trace extends Object implements StructuredPojo, ToCopyableBuilder<Trace.Builder,Trace>
A collection of segment documents with matching trace IDs.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Trace.Builder |
Modifier and Type | Method | 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) |
|
int |
hashCode() |
|
String |
id() |
The unique identifier for the request that generated the trace's segments and subsegments.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
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() |
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.
public Trace.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Trace.Builder,Trace>
public static Trace.Builder builder()
public static Class<? extends Trace.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.