CopyableBuilder<TraceSummary.Builder,TraceSummary>
, SdkBuilder<TraceSummary.Builder,TraceSummary>
public static interface TraceSummary.Builder extends CopyableBuilder<TraceSummary.Builder,TraceSummary>
Modifier and Type | Method | Description |
---|---|---|
TraceSummary.Builder |
annotations(Map<String,? extends Collection<ValueWithServiceIds>> annotations) |
Annotations from the trace's segment documents.
|
TraceSummary.Builder |
duration(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.Builder |
hasError(Boolean hasError) |
One or more of the segment documents has a 400 series error.
|
TraceSummary.Builder |
hasFault(Boolean hasFault) |
One or more of the segment documents has a 500 series error.
|
TraceSummary.Builder |
hasThrottle(Boolean hasThrottle) |
One or more of the segment documents has a 429 throttling error.
|
TraceSummary.Builder |
http(Http http) |
Information about the HTTP request served by the trace.
|
TraceSummary.Builder |
id(String id) |
The unique identifier for the request that generated the trace's segments and subsegments.
|
TraceSummary.Builder |
isPartial(Boolean isPartial) |
One or more of the segment documents is in progress.
|
TraceSummary.Builder |
responseTime(Double responseTime) |
The length of time in seconds between the start and end times of the root segment.
|
TraceSummary.Builder |
serviceIds(Collection<ServiceId> serviceIds) |
Service IDs from the trace's segment documents.
|
TraceSummary.Builder |
serviceIds(ServiceId... serviceIds) |
Service IDs from the trace's segment documents.
|
TraceSummary.Builder |
users(Collection<TraceUser> users) |
Users from the trace's segment documents.
|
TraceSummary.Builder |
users(TraceUser... users) |
Users from the trace's segment documents.
|
copy
apply, build
TraceSummary.Builder id(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.TraceSummary.Builder duration(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.TraceSummary.Builder responseTime(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.TraceSummary.Builder hasFault(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.TraceSummary.Builder hasError(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.TraceSummary.Builder hasThrottle(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.TraceSummary.Builder isPartial(Boolean isPartial)
One or more of the segment documents is in progress.
isPartial
- One or more of the segment documents is in progress.TraceSummary.Builder http(Http http)
Information about the HTTP request served by the trace.
http
- Information about the HTTP request served by the trace.TraceSummary.Builder annotations(Map<String,? extends Collection<ValueWithServiceIds>> annotations)
Annotations from the trace's segment documents.
annotations
- Annotations from the trace's segment documents.TraceSummary.Builder users(Collection<TraceUser> users)
Users from the trace's segment documents.
users
- Users from the trace's segment documents.TraceSummary.Builder users(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.TraceSummary.Builder serviceIds(Collection<ServiceId> serviceIds)
Service IDs from the trace's segment documents.
serviceIds
- Service IDs from the trace's segment documents.TraceSummary.Builder serviceIds(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.