Interface TraceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TraceSummary.Builder,
,TraceSummary> SdkBuilder<TraceSummary.Builder,
,TraceSummary> SdkPojo
- Enclosing class:
TraceSummary
-
Method Summary
Modifier and TypeMethodDescriptionannotations
(Map<String, ? extends Collection<ValueWithServiceIds>> annotations) Annotations from the trace's segment documents.availabilityZones
(Collection<AvailabilityZoneDetail> availabilityZones) A list of Availability Zones for any zone corresponding to the trace segments.availabilityZones
(Consumer<AvailabilityZoneDetail.Builder>... availabilityZones) A list of Availability Zones for any zone corresponding to the trace segments.availabilityZones
(AvailabilityZoneDetail... availabilityZones) A list of Availability Zones for any zone corresponding to the trace segments.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.entryPoint
(ServiceId entryPoint) The root of a trace.errorRootCauses
(Collection<ErrorRootCause> errorRootCauses) A collection of ErrorRootCause structures corresponding to the trace segments.errorRootCauses
(Consumer<ErrorRootCause.Builder>... errorRootCauses) A collection of ErrorRootCause structures corresponding to the trace segments.errorRootCauses
(ErrorRootCause... errorRootCauses) A collection of ErrorRootCause structures corresponding to the trace segments.faultRootCauses
(Collection<FaultRootCause> faultRootCauses) A collection of FaultRootCause structures corresponding to the trace segments.faultRootCauses
(Consumer<FaultRootCause.Builder>... faultRootCauses) A collection of FaultRootCause structures corresponding to the trace segments.faultRootCauses
(FaultRootCause... faultRootCauses) A collection of FaultRootCause structures corresponding to the trace segments.The root segment document has a 400 series error.The root segment document has a 500 series error.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.Information about the HTTP request served by the trace.The unique identifier for the request that generated the trace's segments and subsegments.instanceIds
(Collection<InstanceIdDetail> instanceIds) A list of EC2 instance IDs for any instance corresponding to the trace segments.instanceIds
(Consumer<InstanceIdDetail.Builder>... instanceIds) A list of EC2 instance IDs for any instance corresponding to the trace segments.instanceIds
(InstanceIdDetail... instanceIds) A list of EC2 instance IDs for any instance corresponding to the trace segments.One or more of the segment documents is in progress.matchedEventTime
(Instant matchedEventTime) The matched time stamp of a defined event.resourceARNs
(Collection<ResourceARNDetail> resourceARNs) A list of resource ARNs for any resource corresponding to the trace segments.resourceARNs
(Consumer<ResourceARNDetail.Builder>... resourceARNs) A list of resource ARNs for any resource corresponding to the trace segments.resourceARNs
(ResourceARNDetail... resourceARNs) A list of resource ARNs for any resource corresponding to the trace segments.responseTime
(Double responseTime) The length of time in seconds between the start and end times of the root segment.responseTimeRootCauses
(Collection<ResponseTimeRootCause> responseTimeRootCauses) A collection of ResponseTimeRootCause structures corresponding to the trace segments.responseTimeRootCauses
(Consumer<ResponseTimeRootCause.Builder>... responseTimeRootCauses) A collection of ResponseTimeRootCause structures corresponding to the trace segments.responseTimeRootCauses
(ResponseTimeRootCause... responseTimeRootCauses) A collection of ResponseTimeRootCause structures corresponding to the trace segments.The revision number of a trace.serviceIds
(Collection<ServiceId> serviceIds) Service IDs from the trace's segment documents.serviceIds
(Consumer<ServiceId.Builder>... serviceIds) Service IDs from the trace's segment documents.serviceIds
(ServiceId... serviceIds) Service IDs from the trace's segment documents.The start time of a trace, based on the earliest trace segment start time.users
(Collection<TraceUser> users) Users from the trace's segment documents.users
(Consumer<TraceUser.Builder>... users) Users from the trace's segment documents.Users from the trace's segment documents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The unique identifier for the request that generated the trace's segments and subsegments.
- Parameters:
id
- The unique identifier for the request that generated the trace's segments and subsegments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time of a trace, based on the earliest trace segment start time.
- Parameters:
startTime
- The start time of a trace, based on the earliest trace segment start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasFault
The root segment document has a 500 series error.
- Parameters:
hasFault
- The root segment document has a 500 series error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasError
The root segment document has a 400 series error.
- Parameters:
hasError
- The root segment document has a 400 series error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasThrottle
One or more of the segment documents has a 429 throttling error.
- Parameters:
hasThrottle
- One or more of the segment documents has a 429 throttling error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPartial
One or more of the segment documents is in progress.
- Parameters:
isPartial
- One or more of the segment documents is in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
http
Information about the HTTP request served by the trace.
- Parameters:
http
- Information about the HTTP request served by the trace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
http
Information about the HTTP request served by the trace.
This is a convenience method that creates an instance of theHttp.Builder
avoiding the need to create one manually viaHttp.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttp(Http)
.- Parameters:
http
- a consumer that will call methods onHttp.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
annotations
Annotations from the trace's segment documents.
- Parameters:
annotations
- Annotations from the trace's segment documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
Users from the trace's segment documents.
- Parameters:
users
- Users from the trace's segment documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
Users from the trace's segment documents.
- Parameters:
users
- Users from the trace's segment documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
Users from the trace's segment documents.
This is a convenience method that creates an instance of theTraceUser.Builder
avoiding the need to create one manually viaTraceUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<TraceUser>)
.- Parameters:
users
- a consumer that will call methods onTraceUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceIds
Service IDs from the trace's segment documents.
- Parameters:
serviceIds
- Service IDs from the trace's segment documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceIds
Service IDs from the trace's segment documents.
- Parameters:
serviceIds
- Service IDs from the trace's segment documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceIds
Service IDs from the trace's segment documents.
This is a convenience method that creates an instance of theServiceId.Builder
avoiding the need to create one manually viaServiceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceIds(List<ServiceId>)
.- Parameters:
serviceIds
- a consumer that will call methods onServiceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceARNs
A list of resource ARNs for any resource corresponding to the trace segments.
- Parameters:
resourceARNs
- A list of resource ARNs for any resource corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceARNs
A list of resource ARNs for any resource corresponding to the trace segments.
- Parameters:
resourceARNs
- A list of resource ARNs for any resource corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceARNs
A list of resource ARNs for any resource corresponding to the trace segments.
This is a convenience method that creates an instance of theResourceARNDetail.Builder
avoiding the need to create one manually viaResourceARNDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceARNs(List<ResourceARNDetail>)
.- Parameters:
resourceARNs
- a consumer that will call methods onResourceARNDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceIds
A list of EC2 instance IDs for any instance corresponding to the trace segments.
- Parameters:
instanceIds
- A list of EC2 instance IDs for any instance corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
A list of EC2 instance IDs for any instance corresponding to the trace segments.
- Parameters:
instanceIds
- A list of EC2 instance IDs for any instance corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
A list of EC2 instance IDs for any instance corresponding to the trace segments.
This is a convenience method that creates an instance of theInstanceIdDetail.Builder
avoiding the need to create one manually viaInstanceIdDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceIds(List<InstanceIdDetail>)
.- Parameters:
instanceIds
- a consumer that will call methods onInstanceIdDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availabilityZones
A list of Availability Zones for any zone corresponding to the trace segments.
- Parameters:
availabilityZones
- A list of Availability Zones for any zone corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
A list of Availability Zones for any zone corresponding to the trace segments.
- Parameters:
availabilityZones
- A list of Availability Zones for any zone corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
TraceSummary.Builder availabilityZones(Consumer<AvailabilityZoneDetail.Builder>... availabilityZones) A list of Availability Zones for any zone corresponding to the trace segments.
This is a convenience method that creates an instance of theAvailabilityZoneDetail.Builder
avoiding the need to create one manually viaAvailabilityZoneDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toavailabilityZones(List<AvailabilityZoneDetail>)
.- Parameters:
availabilityZones
- a consumer that will call methods onAvailabilityZoneDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entryPoint
The root of a trace.
- Parameters:
entryPoint
- The root of a trace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entryPoint
The root of a trace.
This is a convenience method that creates an instance of theServiceId.Builder
avoiding the need to create one manually viaServiceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentryPoint(ServiceId)
.- Parameters:
entryPoint
- a consumer that will call methods onServiceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
faultRootCauses
A collection of FaultRootCause structures corresponding to the trace segments.
- Parameters:
faultRootCauses
- A collection of FaultRootCause structures corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faultRootCauses
A collection of FaultRootCause structures corresponding to the trace segments.
- Parameters:
faultRootCauses
- A collection of FaultRootCause structures corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faultRootCauses
A collection of FaultRootCause structures corresponding to the trace segments.
This is a convenience method that creates an instance of theFaultRootCause.Builder
avoiding the need to create one manually viaFaultRootCause.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofaultRootCauses(List<FaultRootCause>)
.- Parameters:
faultRootCauses
- a consumer that will call methods onFaultRootCause.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorRootCauses
A collection of ErrorRootCause structures corresponding to the trace segments.
- Parameters:
errorRootCauses
- A collection of ErrorRootCause structures corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorRootCauses
A collection of ErrorRootCause structures corresponding to the trace segments.
- Parameters:
errorRootCauses
- A collection of ErrorRootCause structures corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorRootCauses
A collection of ErrorRootCause structures corresponding to the trace segments.
This is a convenience method that creates an instance of theErrorRootCause.Builder
avoiding the need to create one manually viaErrorRootCause.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorRootCauses(List<ErrorRootCause>)
.- Parameters:
errorRootCauses
- a consumer that will call methods onErrorRootCause.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
responseTimeRootCauses
TraceSummary.Builder responseTimeRootCauses(Collection<ResponseTimeRootCause> responseTimeRootCauses) A collection of ResponseTimeRootCause structures corresponding to the trace segments.
- Parameters:
responseTimeRootCauses
- A collection of ResponseTimeRootCause structures corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseTimeRootCauses
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
- Parameters:
responseTimeRootCauses
- A collection of ResponseTimeRootCause structures corresponding to the trace segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseTimeRootCauses
TraceSummary.Builder responseTimeRootCauses(Consumer<ResponseTimeRootCause.Builder>... responseTimeRootCauses) A collection of ResponseTimeRootCause structures corresponding to the trace segments.
This is a convenience method that creates an instance of theResponseTimeRootCause.Builder
avoiding the need to create one manually viaResponseTimeRootCause.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresponseTimeRootCauses(List<ResponseTimeRootCause>)
.- Parameters:
responseTimeRootCauses
- a consumer that will call methods onResponseTimeRootCause.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revision
The revision number of a trace.
- Parameters:
revision
- The revision number of a trace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchedEventTime
The matched time stamp of a defined event.
- Parameters:
matchedEventTime
- The matched time stamp of a defined event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-