@Generated(value="software.amazon.awssdk:codegen") public final class TraceSummary extends Object implements StructuredPojo, ToCopyableBuilder<TraceSummary.Builder,TraceSummary>
Metadata generated from the segment documents in a trace.
Modifier and Type | Class and Description |
---|---|
static interface |
TraceSummary.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,List<ValueWithServiceIds>> |
annotations()
Annotations from the trace's segment documents.
|
static TraceSummary.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) |
Boolean |
hasError()
One or more of the segment documents has a 400 series error.
|
Boolean |
hasFault()
One or more of the segment documents has a 500 series error.
|
int |
hashCode() |
Boolean |
hasThrottle()
One or more of the segment documents has a 429 throttling error.
|
Http |
http()
Information about the HTTP request served by the trace.
|
String |
id()
The unique identifier for the request that generated the trace's segments and subsegments.
|
Boolean |
isPartial()
One or more of the segment documents is in progress.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Double |
responseTime()
The length of time in seconds between the start and end times of the root segment.
|
static Class<? extends TraceSummary.Builder> |
serializableBuilderClass() |
List<ServiceId> |
serviceIds()
Service IDs from the trace's segment documents.
|
TraceSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<TraceUser> |
users()
Users from the trace's segment documents.
|
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 Double responseTime()
The length of time in seconds between the start and end times of the root segment. If the service performs work asynchronously, the response time measures the time before the response is sent to the user, while the duration measures the amount of time before the last traced activity completes.
public Boolean hasFault()
One or more of the segment documents has a 500 series error.
public Boolean hasError()
One or more of the segment documents has a 400 series error.
public Boolean hasThrottle()
One or more of the segment documents has a 429 throttling error.
public Boolean isPartial()
One or more of the segment documents is in progress.
public Http http()
Information about the HTTP request served by the trace.
public Map<String,List<ValueWithServiceIds>> annotations()
Annotations from the trace's segment documents.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<TraceUser> users()
Users from the trace's segment documents.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<ServiceId> serviceIds()
Service IDs from the trace's segment documents.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public TraceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TraceSummary.Builder,TraceSummary>
public static TraceSummary.Builder builder()
public static Class<? extends TraceSummary.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.