@Generated(value="software.amazon.awssdk:codegen") public final class TraceSummary extends Object implements SdkPojo, Serializable, 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.
|
List<AvailabilityZoneDetail> |
availabilityZones()
A list of availability zones for any zone corresponding to the trace segments.
|
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.
|
ServiceId |
entryPoint()
The root of a trace.
|
boolean |
equals(Object obj) |
List<ErrorRootCause> |
errorRootCauses()
A collection of ErrorRootCause structures corresponding to the trace segments.
|
List<FaultRootCause> |
faultRootCauses()
A collection of FaultRootCause structures corresponding to the the trace segments.
|
<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.
|
List<InstanceIdDetail> |
instanceIds()
A list of EC2 instance IDs for any instance corresponding to the trace segments.
|
Boolean |
isPartial()
One or more of the segment documents is in progress.
|
List<ResourceARNDetail> |
resourceARNs()
A list of resource ARNs for any resource corresponding to the trace segments.
|
Double |
responseTime()
The length of time in seconds between the start and end times of the root segment.
|
List<ResponseTimeRootCause> |
responseTimeRootCauses()
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
|
Integer |
revision()
The revision number of a trace.
|
List<SdkField<?>> |
sdkFields() |
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 List<ResourceARNDetail> resourceARNs()
A list of resource ARNs for any resource corresponding to the trace segments.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<InstanceIdDetail> instanceIds()
A list of EC2 instance IDs for any instance corresponding to the trace segments.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<AvailabilityZoneDetail> availabilityZones()
A list of availability zones for any zone corresponding to the trace segments.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ServiceId entryPoint()
The root of a trace.
public List<FaultRootCause> faultRootCauses()
A collection of FaultRootCause structures corresponding to the the trace segments.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<ErrorRootCause> errorRootCauses()
A collection of ErrorRootCause structures corresponding to the trace segments.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<ResponseTimeRootCause> responseTimeRootCauses()
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer revision()
The revision number of a trace.
public TraceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TraceSummary.Builder,TraceSummary>
public static TraceSummary.Builder builder()
public static Class<? extends TraceSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.