@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Trace extends Object implements Serializable, Cloneable, StructuredPojo
A collection of segment documents with matching trace IDs.
Constructor and Description |
---|
Trace() |
Modifier and Type | Method and Description |
---|---|
Trace |
clone() |
boolean |
equals(Object obj) |
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.
|
String |
getId()
The unique identifier for the request that generated the trace's segments and subsegments.
|
Boolean |
getLimitExceeded()
LimitExceeded is set to true when the trace has exceeded the
Trace document size limit. |
List<Segment> |
getSegments()
Segment documents for the segments and subsegments that comprise the trace.
|
int |
hashCode() |
Boolean |
isLimitExceeded()
LimitExceeded is set to true when the trace has exceeded the
Trace document size limit. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setId(String id)
The unique identifier for the request that generated the trace's segments and subsegments.
|
void |
setLimitExceeded(Boolean limitExceeded)
LimitExceeded is set to true when the trace has exceeded the
Trace document size limit. |
void |
setSegments(Collection<Segment> segments)
Segment documents for the segments and subsegments that comprise the trace.
|
String |
toString()
Returns a string representation of this object.
|
Trace |
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.
|
Trace |
withId(String id)
The unique identifier for the request that generated the trace's segments and subsegments.
|
Trace |
withLimitExceeded(Boolean limitExceeded)
LimitExceeded is set to true when the trace has exceeded the
Trace document size limit. |
Trace |
withSegments(Collection<Segment> segments)
Segment documents for the segments and subsegments that comprise the trace.
|
Trace |
withSegments(Segment... segments)
Segment documents for the segments and subsegments that comprise the trace.
|
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 Trace 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 Trace 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 setLimitExceeded(Boolean limitExceeded)
LimitExceeded is set to true when the trace has exceeded the Trace document size
limit. For more
information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and
quotas.
limitExceeded
- LimitExceeded is set to true when the trace has exceeded the Trace document size
limit. For
more information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and
quotas.public Boolean getLimitExceeded()
LimitExceeded is set to true when the trace has exceeded the Trace document size
limit. For more
information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and
quotas.
Trace document size
limit. For
more information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and
quotas.public Trace withLimitExceeded(Boolean limitExceeded)
LimitExceeded is set to true when the trace has exceeded the Trace document size
limit. For more
information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and
quotas.
limitExceeded
- LimitExceeded is set to true when the trace has exceeded the Trace document size
limit. For
more information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and
quotas.public Boolean isLimitExceeded()
LimitExceeded is set to true when the trace has exceeded the Trace document size
limit. For more
information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and
quotas.
Trace document size
limit. For
more information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and
quotas.public List<Segment> getSegments()
Segment documents for the segments and subsegments that comprise the trace.
public void setSegments(Collection<Segment> segments)
Segment documents for the segments and subsegments that comprise the trace.
segments
- Segment documents for the segments and subsegments that comprise the trace.public Trace withSegments(Segment... segments)
Segment documents for the segments and subsegments that comprise the trace.
NOTE: This method appends the values to the existing list (if any). Use
setSegments(java.util.Collection)
or withSegments(java.util.Collection)
if you want to override
the existing values.
segments
- Segment documents for the segments and subsegments that comprise the trace.public Trace withSegments(Collection<Segment> segments)
Segment documents for the segments and subsegments that comprise the trace.
segments
- Segment documents for the segments and subsegments that comprise the trace.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.