@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) |
boolean |
equalsBySdkFields(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 trace segments.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAnnotations()
Returns true if the Annotations property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasAvailabilityZones()
Returns true if the AvailabilityZones property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Boolean |
hasError()
The root segment document has a 400 series error.
|
boolean |
hasErrorRootCauses()
Returns true if the ErrorRootCauses property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Boolean |
hasFault()
The root segment document has a 500 series error.
|
boolean |
hasFaultRootCauses()
Returns true if the FaultRootCauses property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasInstanceIds()
Returns true if the InstanceIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasResourceARNs()
Returns true if the ResourceARNs property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasResponseTimeRootCauses()
Returns true if the ResponseTimeRootCauses property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasServiceIds()
Returns true if the ServiceIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Boolean |
hasThrottle()
One or more of the segment documents has a 429 throttling error.
|
boolean |
hasUsers()
Returns true if the Users property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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.
|
Instant |
matchedEventTime()
The matched time stamp of a defined event.
|
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() |
String |
toString()
Returns a string representation of this object.
|
List<TraceUser> |
users()
Users from the trace's segment documents.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique identifier for the request that generated the trace's segments and subsegments.
public final 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 final 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 final Boolean hasFault()
The root segment document has a 500 series error.
public final Boolean hasError()
The root segment document has a 400 series error.
public final Boolean hasThrottle()
One or more of the segment documents has a 429 throttling error.
public final Boolean isPartial()
One or more of the segment documents is in progress.
public final Http http()
Information about the HTTP request served by the trace.
public final boolean hasAnnotations()
public final 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.
You can use hasAnnotations() to see if a value was sent in this field.
public final boolean hasUsers()
public final List<TraceUser> users()
Users from the trace's segment documents.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUsers() to see if a value was sent in this field.
public final boolean hasServiceIds()
public final 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.
You can use hasServiceIds() to see if a value was sent in this field.
public final boolean hasResourceARNs()
public final 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.
You can use hasResourceARNs() to see if a value was sent in this field.
public final boolean hasInstanceIds()
public final 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.
You can use hasInstanceIds() to see if a value was sent in this field.
public final boolean hasAvailabilityZones()
public final 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.
You can use hasAvailabilityZones() to see if a value was sent in this field.
public final ServiceId entryPoint()
The root of a trace.
public final boolean hasFaultRootCauses()
public final List<FaultRootCause> faultRootCauses()
A collection of FaultRootCause structures corresponding to the trace segments.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFaultRootCauses() to see if a value was sent in this field.
public final boolean hasErrorRootCauses()
public final 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.
You can use hasErrorRootCauses() to see if a value was sent in this field.
public final boolean hasResponseTimeRootCauses()
public final 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.
You can use hasResponseTimeRootCauses() to see if a value was sent in this field.
public final Integer revision()
The revision number of a trace.
public final Instant matchedEventTime()
The matched time stamp of a defined event.
public TraceSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TraceSummary.Builder,TraceSummary>public static TraceSummary.Builder builder()
public static Class<? extends TraceSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.