@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TraceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Metadata generated from the segment documents in a trace.
Constructor and Description |
---|
TraceSummary() |
Modifier and Type | Method and Description |
---|---|
TraceSummary |
addAnnotationsEntry(String key,
List<ValueWithServiceIds> value)
Add a single Annotations entry
|
TraceSummary |
clearAnnotationsEntries()
Removes all the entries added into Annotations.
|
TraceSummary |
clone() |
boolean |
equals(Object obj) |
Map<String,List<ValueWithServiceIds>> |
getAnnotations()
Annotations from the trace's segment documents.
|
List<AvailabilityZoneDetail> |
getAvailabilityZones()
A list of Availability Zones for any zone corresponding to the trace segments.
|
Double |
getDuration()
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 |
getEntryPoint()
The root of a trace.
|
List<ErrorRootCause> |
getErrorRootCauses()
A collection of ErrorRootCause structures corresponding to the trace segments.
|
List<FaultRootCause> |
getFaultRootCauses()
A collection of FaultRootCause structures corresponding to the trace segments.
|
Boolean |
getHasError()
The root segment document has a 400 series error.
|
Boolean |
getHasFault()
The root segment document has a 500 series error.
|
Boolean |
getHasThrottle()
One or more of the segment documents has a 429 throttling error.
|
Http |
getHttp()
Information about the HTTP request served by the trace.
|
String |
getId()
The unique identifier for the request that generated the trace's segments and subsegments.
|
List<InstanceIdDetail> |
getInstanceIds()
A list of EC2 instance IDs for any instance corresponding to the trace segments.
|
Boolean |
getIsPartial()
One or more of the segment documents is in progress.
|
Date |
getMatchedEventTime()
The matched time stamp of a defined event.
|
List<ResourceARNDetail> |
getResourceARNs()
A list of resource ARNs for any resource corresponding to the trace segments.
|
Double |
getResponseTime()
The length of time in seconds between the start and end times of the root segment.
|
List<ResponseTimeRootCause> |
getResponseTimeRootCauses()
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
|
Integer |
getRevision()
The revision number of a trace.
|
List<ServiceId> |
getServiceIds()
Service IDs from the trace's segment documents.
|
Date |
getStartTime()
The start time of a trace, based on the earliest trace segment start time.
|
List<TraceUser> |
getUsers()
Users from the trace's segment documents.
|
int |
hashCode() |
Boolean |
isHasError()
The root segment document has a 400 series error.
|
Boolean |
isHasFault()
The root segment document has a 500 series error.
|
Boolean |
isHasThrottle()
One or more of the segment documents has a 429 throttling error.
|
Boolean |
isPartial()
One or more of the segment documents is in progress.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnnotations(Map<String,List<ValueWithServiceIds>> annotations)
Annotations from the trace's segment documents.
|
void |
setAvailabilityZones(Collection<AvailabilityZoneDetail> availabilityZones)
A list of Availability Zones for any zone corresponding to the trace segments.
|
void |
setDuration(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.
|
void |
setEntryPoint(ServiceId entryPoint)
The root of a trace.
|
void |
setErrorRootCauses(Collection<ErrorRootCause> errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
|
void |
setFaultRootCauses(Collection<FaultRootCause> faultRootCauses)
A collection of FaultRootCause structures corresponding to the trace segments.
|
void |
setHasError(Boolean hasError)
The root segment document has a 400 series error.
|
void |
setHasFault(Boolean hasFault)
The root segment document has a 500 series error.
|
void |
setHasThrottle(Boolean hasThrottle)
One or more of the segment documents has a 429 throttling error.
|
void |
setHttp(Http http)
Information about the HTTP request served by the trace.
|
void |
setId(String id)
The unique identifier for the request that generated the trace's segments and subsegments.
|
void |
setInstanceIds(Collection<InstanceIdDetail> instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
|
void |
setIsPartial(Boolean isPartial)
One or more of the segment documents is in progress.
|
void |
setMatchedEventTime(Date matchedEventTime)
The matched time stamp of a defined event.
|
void |
setResourceARNs(Collection<ResourceARNDetail> resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
|
void |
setResponseTime(Double responseTime)
The length of time in seconds between the start and end times of the root segment.
|
void |
setResponseTimeRootCauses(Collection<ResponseTimeRootCause> responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
|
void |
setRevision(Integer revision)
The revision number of a trace.
|
void |
setServiceIds(Collection<ServiceId> serviceIds)
Service IDs from the trace's segment documents.
|
void |
setStartTime(Date startTime)
The start time of a trace, based on the earliest trace segment start time.
|
void |
setUsers(Collection<TraceUser> users)
Users from the trace's segment documents.
|
String |
toString()
Returns a string representation of this object.
|
TraceSummary |
withAnnotations(Map<String,List<ValueWithServiceIds>> annotations)
Annotations from the trace's segment documents.
|
TraceSummary |
withAvailabilityZones(AvailabilityZoneDetail... availabilityZones)
A list of Availability Zones for any zone corresponding to the trace segments.
|
TraceSummary |
withAvailabilityZones(Collection<AvailabilityZoneDetail> availabilityZones)
A list of Availability Zones for any zone corresponding to the trace segments.
|
TraceSummary |
withDuration(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.
|
TraceSummary |
withEntryPoint(ServiceId entryPoint)
The root of a trace.
|
TraceSummary |
withErrorRootCauses(Collection<ErrorRootCause> errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
|
TraceSummary |
withErrorRootCauses(ErrorRootCause... errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
|
TraceSummary |
withFaultRootCauses(Collection<FaultRootCause> faultRootCauses)
A collection of FaultRootCause structures corresponding to the trace segments.
|
TraceSummary |
withFaultRootCauses(FaultRootCause... faultRootCauses)
A collection of FaultRootCause structures corresponding to the trace segments.
|
TraceSummary |
withHasError(Boolean hasError)
The root segment document has a 400 series error.
|
TraceSummary |
withHasFault(Boolean hasFault)
The root segment document has a 500 series error.
|
TraceSummary |
withHasThrottle(Boolean hasThrottle)
One or more of the segment documents has a 429 throttling error.
|
TraceSummary |
withHttp(Http http)
Information about the HTTP request served by the trace.
|
TraceSummary |
withId(String id)
The unique identifier for the request that generated the trace's segments and subsegments.
|
TraceSummary |
withInstanceIds(Collection<InstanceIdDetail> instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
|
TraceSummary |
withInstanceIds(InstanceIdDetail... instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
|
TraceSummary |
withIsPartial(Boolean isPartial)
One or more of the segment documents is in progress.
|
TraceSummary |
withMatchedEventTime(Date matchedEventTime)
The matched time stamp of a defined event.
|
TraceSummary |
withResourceARNs(Collection<ResourceARNDetail> resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
|
TraceSummary |
withResourceARNs(ResourceARNDetail... resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
|
TraceSummary |
withResponseTime(Double responseTime)
The length of time in seconds between the start and end times of the root segment.
|
TraceSummary |
withResponseTimeRootCauses(Collection<ResponseTimeRootCause> responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
|
TraceSummary |
withResponseTimeRootCauses(ResponseTimeRootCause... responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
|
TraceSummary |
withRevision(Integer revision)
The revision number of a trace.
|
TraceSummary |
withServiceIds(Collection<ServiceId> serviceIds)
Service IDs from the trace's segment documents.
|
TraceSummary |
withServiceIds(ServiceId... serviceIds)
Service IDs from the trace's segment documents.
|
TraceSummary |
withStartTime(Date startTime)
The start time of a trace, based on the earliest trace segment start time.
|
TraceSummary |
withUsers(Collection<TraceUser> users)
Users from the trace's segment documents.
|
TraceSummary |
withUsers(TraceUser... users)
Users from the trace's segment documents.
|
public void setId(String id)
The unique identifier for the request that generated the trace's segments and subsegments.
id
- The unique identifier for the request that generated the trace's segments and subsegments.public String getId()
The unique identifier for the request that generated the trace's segments and subsegments.
public TraceSummary withId(String id)
The unique identifier for the request that generated the trace's segments and subsegments.
id
- The unique identifier for the request that generated the trace's segments and subsegments.public void setStartTime(Date startTime)
The start time of a trace, based on the earliest trace segment start time.
startTime
- The start time of a trace, based on the earliest trace segment start time.public Date getStartTime()
The start time of a trace, based on the earliest trace segment start time.
public TraceSummary withStartTime(Date startTime)
The start time of a trace, based on the earliest trace segment start time.
startTime
- The start time of a trace, based on the earliest trace segment start time.public void setDuration(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.
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 getDuration()
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 TraceSummary withDuration(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.
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 void setResponseTime(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.
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 Double getResponseTime()
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 TraceSummary withResponseTime(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.
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 void setHasFault(Boolean hasFault)
The root segment document has a 500 series error.
hasFault
- The root segment document has a 500 series error.public Boolean getHasFault()
The root segment document has a 500 series error.
public TraceSummary withHasFault(Boolean hasFault)
The root segment document has a 500 series error.
hasFault
- The root segment document has a 500 series error.public Boolean isHasFault()
The root segment document has a 500 series error.
public void setHasError(Boolean hasError)
The root segment document has a 400 series error.
hasError
- The root segment document has a 400 series error.public Boolean getHasError()
The root segment document has a 400 series error.
public TraceSummary withHasError(Boolean hasError)
The root segment document has a 400 series error.
hasError
- The root segment document has a 400 series error.public Boolean isHasError()
The root segment document has a 400 series error.
public void setHasThrottle(Boolean hasThrottle)
One or more of the segment documents has a 429 throttling error.
hasThrottle
- One or more of the segment documents has a 429 throttling error.public Boolean getHasThrottle()
One or more of the segment documents has a 429 throttling error.
public TraceSummary withHasThrottle(Boolean hasThrottle)
One or more of the segment documents has a 429 throttling error.
hasThrottle
- One or more of the segment documents has a 429 throttling error.public Boolean isHasThrottle()
One or more of the segment documents has a 429 throttling error.
public void setIsPartial(Boolean isPartial)
One or more of the segment documents is in progress.
isPartial
- One or more of the segment documents is in progress.public Boolean getIsPartial()
One or more of the segment documents is in progress.
public TraceSummary withIsPartial(Boolean isPartial)
One or more of the segment documents is in progress.
isPartial
- One or more of the segment documents is in progress.public Boolean isPartial()
One or more of the segment documents is in progress.
public void setHttp(Http http)
Information about the HTTP request served by the trace.
http
- Information about the HTTP request served by the trace.public Http getHttp()
Information about the HTTP request served by the trace.
public TraceSummary withHttp(Http http)
Information about the HTTP request served by the trace.
http
- Information about the HTTP request served by the trace.public Map<String,List<ValueWithServiceIds>> getAnnotations()
Annotations from the trace's segment documents.
public void setAnnotations(Map<String,List<ValueWithServiceIds>> annotations)
Annotations from the trace's segment documents.
annotations
- Annotations from the trace's segment documents.public TraceSummary withAnnotations(Map<String,List<ValueWithServiceIds>> annotations)
Annotations from the trace's segment documents.
annotations
- Annotations from the trace's segment documents.public TraceSummary addAnnotationsEntry(String key, List<ValueWithServiceIds> value)
public TraceSummary clearAnnotationsEntries()
public List<TraceUser> getUsers()
Users from the trace's segment documents.
public void setUsers(Collection<TraceUser> users)
Users from the trace's segment documents.
users
- Users from the trace's segment documents.public TraceSummary withUsers(TraceUser... users)
Users from the trace's segment documents.
NOTE: This method appends the values to the existing list (if any). Use
setUsers(java.util.Collection)
or withUsers(java.util.Collection)
if you want to override the
existing values.
users
- Users from the trace's segment documents.public TraceSummary withUsers(Collection<TraceUser> users)
Users from the trace's segment documents.
users
- Users from the trace's segment documents.public List<ServiceId> getServiceIds()
Service IDs from the trace's segment documents.
public void setServiceIds(Collection<ServiceId> serviceIds)
Service IDs from the trace's segment documents.
serviceIds
- Service IDs from the trace's segment documents.public TraceSummary withServiceIds(ServiceId... serviceIds)
Service IDs from the trace's segment documents.
NOTE: This method appends the values to the existing list (if any). Use
setServiceIds(java.util.Collection)
or withServiceIds(java.util.Collection)
if you want to
override the existing values.
serviceIds
- Service IDs from the trace's segment documents.public TraceSummary withServiceIds(Collection<ServiceId> serviceIds)
Service IDs from the trace's segment documents.
serviceIds
- Service IDs from the trace's segment documents.public List<ResourceARNDetail> getResourceARNs()
A list of resource ARNs for any resource corresponding to the trace segments.
public void setResourceARNs(Collection<ResourceARNDetail> resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
resourceARNs
- A list of resource ARNs for any resource corresponding to the trace segments.public TraceSummary withResourceARNs(ResourceARNDetail... resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
NOTE: This method appends the values to the existing list (if any). Use
setResourceARNs(java.util.Collection)
or withResourceARNs(java.util.Collection)
if you want to
override the existing values.
resourceARNs
- A list of resource ARNs for any resource corresponding to the trace segments.public TraceSummary withResourceARNs(Collection<ResourceARNDetail> resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
resourceARNs
- A list of resource ARNs for any resource corresponding to the trace segments.public List<InstanceIdDetail> getInstanceIds()
A list of EC2 instance IDs for any instance corresponding to the trace segments.
public void setInstanceIds(Collection<InstanceIdDetail> instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
instanceIds
- A list of EC2 instance IDs for any instance corresponding to the trace segments.public TraceSummary withInstanceIds(InstanceIdDetail... instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- A list of EC2 instance IDs for any instance corresponding to the trace segments.public TraceSummary withInstanceIds(Collection<InstanceIdDetail> instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
instanceIds
- A list of EC2 instance IDs for any instance corresponding to the trace segments.public List<AvailabilityZoneDetail> getAvailabilityZones()
A list of Availability Zones for any zone corresponding to the trace segments.
public void setAvailabilityZones(Collection<AvailabilityZoneDetail> availabilityZones)
A list of Availability Zones for any zone corresponding to the trace segments.
availabilityZones
- A list of Availability Zones for any zone corresponding to the trace segments.public TraceSummary withAvailabilityZones(AvailabilityZoneDetail... availabilityZones)
A list of Availability Zones for any zone corresponding to the trace segments.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- A list of Availability Zones for any zone corresponding to the trace segments.public TraceSummary withAvailabilityZones(Collection<AvailabilityZoneDetail> availabilityZones)
A list of Availability Zones for any zone corresponding to the trace segments.
availabilityZones
- A list of Availability Zones for any zone corresponding to the trace segments.public void setEntryPoint(ServiceId entryPoint)
The root of a trace.
entryPoint
- The root of a trace.public ServiceId getEntryPoint()
The root of a trace.
public TraceSummary withEntryPoint(ServiceId entryPoint)
The root of a trace.
entryPoint
- The root of a trace.public List<FaultRootCause> getFaultRootCauses()
A collection of FaultRootCause structures corresponding to the trace segments.
public void setFaultRootCauses(Collection<FaultRootCause> faultRootCauses)
A collection of FaultRootCause structures corresponding to the trace segments.
faultRootCauses
- A collection of FaultRootCause structures corresponding to the trace segments.public TraceSummary withFaultRootCauses(FaultRootCause... faultRootCauses)
A collection of FaultRootCause structures corresponding to the trace segments.
NOTE: This method appends the values to the existing list (if any). Use
setFaultRootCauses(java.util.Collection)
or withFaultRootCauses(java.util.Collection)
if you
want to override the existing values.
faultRootCauses
- A collection of FaultRootCause structures corresponding to the trace segments.public TraceSummary withFaultRootCauses(Collection<FaultRootCause> faultRootCauses)
A collection of FaultRootCause structures corresponding to the trace segments.
faultRootCauses
- A collection of FaultRootCause structures corresponding to the trace segments.public List<ErrorRootCause> getErrorRootCauses()
A collection of ErrorRootCause structures corresponding to the trace segments.
public void setErrorRootCauses(Collection<ErrorRootCause> errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
errorRootCauses
- A collection of ErrorRootCause structures corresponding to the trace segments.public TraceSummary withErrorRootCauses(ErrorRootCause... errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
NOTE: This method appends the values to the existing list (if any). Use
setErrorRootCauses(java.util.Collection)
or withErrorRootCauses(java.util.Collection)
if you
want to override the existing values.
errorRootCauses
- A collection of ErrorRootCause structures corresponding to the trace segments.public TraceSummary withErrorRootCauses(Collection<ErrorRootCause> errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
errorRootCauses
- A collection of ErrorRootCause structures corresponding to the trace segments.public List<ResponseTimeRootCause> getResponseTimeRootCauses()
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
public void setResponseTimeRootCauses(Collection<ResponseTimeRootCause> responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
responseTimeRootCauses
- A collection of ResponseTimeRootCause structures corresponding to the trace segments.public TraceSummary withResponseTimeRootCauses(ResponseTimeRootCause... responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
NOTE: This method appends the values to the existing list (if any). Use
setResponseTimeRootCauses(java.util.Collection)
or
withResponseTimeRootCauses(java.util.Collection)
if you want to override the existing values.
responseTimeRootCauses
- A collection of ResponseTimeRootCause structures corresponding to the trace segments.public TraceSummary withResponseTimeRootCauses(Collection<ResponseTimeRootCause> responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
responseTimeRootCauses
- A collection of ResponseTimeRootCause structures corresponding to the trace segments.public void setRevision(Integer revision)
The revision number of a trace.
revision
- The revision number of a trace.public Integer getRevision()
The revision number of a trace.
public TraceSummary withRevision(Integer revision)
The revision number of a trace.
revision
- The revision number of a trace.public void setMatchedEventTime(Date matchedEventTime)
The matched time stamp of a defined event.
matchedEventTime
- The matched time stamp of a defined event.public Date getMatchedEventTime()
The matched time stamp of a defined event.
public TraceSummary withMatchedEventTime(Date matchedEventTime)
The matched time stamp of a defined event.
matchedEventTime
- The matched time stamp of a defined event.public String toString()
toString
in class Object
Object.toString()
public TraceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.