@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()
For responses, this returns true if the service returned a value for the Annotations property.
|
boolean |
hasAvailabilityZones()
For responses, this returns true if the service returned a value for the AvailabilityZones property.
|
Boolean |
hasError()
The root segment document has a 400 series error.
|
boolean |
hasErrorRootCauses()
For responses, this returns true if the service returned a value for the ErrorRootCauses property.
|
Boolean |
hasFault()
The root segment document has a 500 series error.
|
boolean |
hasFaultRootCauses()
For responses, this returns true if the service returned a value for the FaultRootCauses property.
|
int |
hashCode() |
boolean |
hasInstanceIds()
For responses, this returns true if the service returned a value for the InstanceIds property.
|
boolean |
hasResourceARNs()
For responses, this returns true if the service returned a value for the ResourceARNs property.
|
boolean |
hasResponseTimeRootCauses()
For responses, this returns true if the service returned a value for the ResponseTimeRootCauses property.
|
boolean |
hasServiceIds()
For responses, this returns true if the service returned a value for the ServiceIds property.
|
Boolean |
hasThrottle()
One or more of the segment documents has a 429 throttling error.
|
boolean |
hasUsers()
For responses, this returns true if the service returned a value for the Users property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAnnotations() method.
public final boolean hasUsers()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUsers() method.
public final boolean hasServiceIds()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasServiceIds() method.
public final boolean hasResourceARNs()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceARNs() method.
public final boolean hasInstanceIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInstanceIds() method.
public final boolean hasAvailabilityZones()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAvailabilityZones() method.
public final ServiceId entryPoint()
The root of a trace.
public final boolean hasFaultRootCauses()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFaultRootCauses() method.
public final boolean hasErrorRootCauses()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasErrorRootCauses() method.
public final boolean hasResponseTimeRootCauses()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResponseTimeRootCauses() method.
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 © 2023. All rights reserved.