public static interface TraceSummary.Builder extends SdkPojo, 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 |
availabilityZones(AvailabilityZoneDetail... availabilityZones)
A list of availability zones for any zone corresponding to the trace segments.
|
TraceSummary.Builder |
availabilityZones(Collection<AvailabilityZoneDetail> availabilityZones)
A list of availability zones for any zone corresponding to the trace segments.
|
TraceSummary.Builder |
availabilityZones(Consumer<AvailabilityZoneDetail.Builder>... availabilityZones)
A list of availability zones for any zone corresponding to the trace segments.
|
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.
|
default TraceSummary.Builder |
entryPoint(Consumer<ServiceId.Builder> entryPoint)
The root of a trace.
|
TraceSummary.Builder |
entryPoint(ServiceId entryPoint)
The root of a trace.
|
TraceSummary.Builder |
errorRootCauses(Collection<ErrorRootCause> errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
|
TraceSummary.Builder |
errorRootCauses(Consumer<ErrorRootCause.Builder>... errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
|
TraceSummary.Builder |
errorRootCauses(ErrorRootCause... errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
|
TraceSummary.Builder |
faultRootCauses(Collection<FaultRootCause> faultRootCauses)
A collection of FaultRootCause structures corresponding to the the trace segments.
|
TraceSummary.Builder |
faultRootCauses(Consumer<FaultRootCause.Builder>... faultRootCauses)
A collection of FaultRootCause structures corresponding to the the trace segments.
|
TraceSummary.Builder |
faultRootCauses(FaultRootCause... faultRootCauses)
A collection of FaultRootCause structures corresponding to the the trace segments.
|
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 |
instanceIds(Collection<InstanceIdDetail> instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
|
TraceSummary.Builder |
instanceIds(Consumer<InstanceIdDetail.Builder>... instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
|
TraceSummary.Builder |
instanceIds(InstanceIdDetail... instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
|
TraceSummary.Builder |
isPartial(Boolean isPartial)
One or more of the segment documents is in progress.
|
TraceSummary.Builder |
resourceARNs(Collection<ResourceARNDetail> resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
|
TraceSummary.Builder |
resourceARNs(Consumer<ResourceARNDetail.Builder>... resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
|
TraceSummary.Builder |
resourceARNs(ResourceARNDetail... resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
|
TraceSummary.Builder |
responseTime(Double responseTime)
The length of time in seconds between the start and end times of the root segment.
|
TraceSummary.Builder |
responseTimeRootCauses(Collection<ResponseTimeRootCause> responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
|
TraceSummary.Builder |
responseTimeRootCauses(Consumer<ResponseTimeRootCause.Builder>... responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
|
TraceSummary.Builder |
responseTimeRootCauses(ResponseTimeRootCause... responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
|
TraceSummary.Builder |
revision(Integer revision)
The revision number of a trace.
|
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)
TraceSummary.Builder resourceARNs(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.TraceSummary.Builder resourceARNs(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.TraceSummary.Builder resourceARNs(Consumer<ResourceARNDetail.Builder>... resourceARNs)
A list of resource ARNs for any resource corresponding to the trace segments.
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 #resourceARNs(List)
.resourceARNs
- a consumer that will call methods on List.Builder
#resourceARNs(List)
TraceSummary.Builder instanceIds(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.TraceSummary.Builder instanceIds(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.TraceSummary.Builder instanceIds(Consumer<InstanceIdDetail.Builder>... instanceIds)
A list of EC2 instance IDs for any instance corresponding to the trace segments.
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 #instanceIds(List)
.instanceIds
- a consumer that will call methods on List.Builder
#instanceIds(List)
TraceSummary.Builder availabilityZones(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.TraceSummary.Builder availabilityZones(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.TraceSummary.Builder availabilityZones(Consumer<AvailabilityZoneDetail.Builder>... availabilityZones)
A list of availability zones for any zone corresponding to the trace segments.
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 #availabilityZones(List)
.availabilityZones
- a consumer that will call methods on List.Builder
#availabilityZones(List)
TraceSummary.Builder entryPoint(ServiceId entryPoint)
The root of a trace.
entryPoint
- The root of a trace.default TraceSummary.Builder entryPoint(Consumer<ServiceId.Builder> entryPoint)
The root of a trace.
This is a convenience that creates an instance of theServiceId.Builder
avoiding the need to create
one manually via ServiceId.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to entryPoint(ServiceId)
.entryPoint
- a consumer that will call methods on ServiceId.Builder
entryPoint(ServiceId)
TraceSummary.Builder faultRootCauses(Collection<FaultRootCause> faultRootCauses)
A collection of FaultRootCause structures corresponding to the the trace segments.
faultRootCauses
- A collection of FaultRootCause structures corresponding to the the trace segments.TraceSummary.Builder faultRootCauses(FaultRootCause... faultRootCauses)
A collection of FaultRootCause structures corresponding to the the trace segments.
faultRootCauses
- A collection of FaultRootCause structures corresponding to the the trace segments.TraceSummary.Builder faultRootCauses(Consumer<FaultRootCause.Builder>... faultRootCauses)
A collection of FaultRootCause structures corresponding to the the trace segments.
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 #faultRootCauses(List)
.faultRootCauses
- a consumer that will call methods on List.Builder
#faultRootCauses(List)
TraceSummary.Builder errorRootCauses(Collection<ErrorRootCause> errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
errorRootCauses
- A collection of ErrorRootCause structures corresponding to the trace segments.TraceSummary.Builder errorRootCauses(ErrorRootCause... errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
errorRootCauses
- A collection of ErrorRootCause structures corresponding to the trace segments.TraceSummary.Builder errorRootCauses(Consumer<ErrorRootCause.Builder>... errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
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 #errorRootCauses(List)
.errorRootCauses
- a consumer that will call methods on List.Builder
#errorRootCauses(List)
TraceSummary.Builder responseTimeRootCauses(Collection<ResponseTimeRootCause> responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
responseTimeRootCauses
- A collection of ResponseTimeRootCause structures corresponding to the trace segments.TraceSummary.Builder responseTimeRootCauses(ResponseTimeRootCause... responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
responseTimeRootCauses
- A collection of ResponseTimeRootCause structures corresponding to the trace segments.TraceSummary.Builder responseTimeRootCauses(Consumer<ResponseTimeRootCause.Builder>... responseTimeRootCauses)
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
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 #responseTimeRootCauses(List)
.responseTimeRootCauses
- a consumer that will call methods on List.Builder
#responseTimeRootCauses(List)
TraceSummary.Builder revision(Integer revision)
The revision number of a trace.
revision
- The revision number of a trace.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.