@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) |
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.
|
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.
|
Boolean |
getHasError()
One or more of the segment documents has a 400 series error.
|
Boolean |
getHasFault()
One or more of the segment documents 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.
|
Boolean |
getIsPartial()
One or more of the segment documents is in progress.
|
Double |
getResponseTime()
The length of time in seconds between the start and end times of the root segment.
|
List<ServiceId> |
getServiceIds()
Service IDs from the trace's segment documents.
|
List<TraceUser> |
getUsers()
Users from the trace's segment documents.
|
int |
hashCode() |
Boolean |
isHasError()
One or more of the segment documents has a 400 series error.
|
Boolean |
isHasFault()
One or more of the segment documents 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 |
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 |
setHasError(Boolean hasError)
One or more of the segment documents has a 400 series error.
|
void |
setHasFault(Boolean hasFault)
One or more of the segment documents 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 |
setIsPartial(Boolean isPartial)
One or more of the segment documents is in progress.
|
void |
setResponseTime(Double responseTime)
The length of time in seconds between the start and end times of the root segment.
|
void |
setServiceIds(Collection<ServiceId> serviceIds)
Service IDs from the trace's segment documents.
|
void |
setUsers(Collection<TraceUser> users)
Users from the trace's segment documents.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TraceSummary |
withAnnotations(Map<String,List<ValueWithServiceIds>> annotations)
Annotations from the trace's segment documents.
|
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 |
withHasError(Boolean hasError)
One or more of the segment documents has a 400 series error.
|
TraceSummary |
withHasFault(Boolean hasFault)
One or more of the segment documents 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 |
withIsPartial(Boolean isPartial)
One or more of the segment documents is in progress.
|
TraceSummary |
withResponseTime(Double responseTime)
The length of time in seconds between the start and end times of the root segment.
|
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 |
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 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)
One or more of the segment documents has a 500 series error.
hasFault
- One or more of the segment documents has a 500 series error.public Boolean getHasFault()
One or more of the segment documents has a 500 series error.
public TraceSummary withHasFault(Boolean hasFault)
One or more of the segment documents has a 500 series error.
hasFault
- One or more of the segment documents has a 500 series error.public Boolean isHasFault()
One or more of the segment documents has a 500 series error.
public void setHasError(Boolean hasError)
One or more of the segment documents has a 400 series error.
hasError
- One or more of the segment documents has a 400 series error.public Boolean getHasError()
One or more of the segment documents has a 400 series error.
public TraceSummary withHasError(Boolean hasError)
One or more of the segment documents has a 400 series error.
hasError
- One or more of the segment documents has a 400 series error.public Boolean isHasError()
One or more of the segment documents 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.