public static interface TraceSummary.Builder extends CopyableBuilder<TraceSummary.Builder,TraceSummary>
Modifier and Type | Method and 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.
|
default TraceSummary.Builder |
http(Consumer<Http.Builder> http)
Information about the HTTP request served by the trace.
|
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(Consumer<ServiceId.Builder>... 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(Consumer<TraceUser.Builder>... users)
Users from the trace's segment documents.
|
TraceSummary.Builder |
users(TraceUser... users)
Users from the trace's segment documents.
|
copy
applyMutation, 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.default TraceSummary.Builder http(Consumer<Http.Builder> http)
Information about the HTTP request served by the trace.
This is a convenience that creates an instance of theHttp.Builder
avoiding the need to create one
manually via Http.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to http(Http)
.http
- a consumer that will call methods on Http.Builder
http(Http)
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.
users
- Users from the trace's segment documents.TraceSummary.Builder users(Consumer<TraceUser.Builder>... users)
Users from the trace's segment documents.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #users(List)
.users
- a consumer that will call methods on List.Builder
#users(List)
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.
serviceIds
- Service IDs from the trace's segment documents.TraceSummary.Builder serviceIds(Consumer<ServiceId.Builder>... serviceIds)
Service IDs from the trace's segment documents.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #serviceIds(List)
.serviceIds
- a consumer that will call methods on List.Builder
#serviceIds(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.