Interface TraceSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TraceSummary.Builder,TraceSummary>,SdkBuilder<TraceSummary.Builder,TraceSummary>,SdkPojo
- Enclosing class:
- TraceSummary
@Mutable @NotThreadSafe public static interface TraceSummary.Builder extends SdkPojo, CopyableBuilder<TraceSummary.Builder,TraceSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TraceSummary.Builderannotations(Map<String,? extends Collection<ValueWithServiceIds>> annotations)Annotations from the trace's segment documents.TraceSummary.BuilderavailabilityZones(Collection<AvailabilityZoneDetail> availabilityZones)A list of Availability Zones for any zone corresponding to the trace segments.TraceSummary.BuilderavailabilityZones(Consumer<AvailabilityZoneDetail.Builder>... availabilityZones)A list of Availability Zones for any zone corresponding to the trace segments.TraceSummary.BuilderavailabilityZones(AvailabilityZoneDetail... availabilityZones)A list of Availability Zones for any zone corresponding to the trace segments.TraceSummary.Builderduration(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.BuilderentryPoint(Consumer<ServiceId.Builder> entryPoint)The root of a trace.TraceSummary.BuilderentryPoint(ServiceId entryPoint)The root of a trace.TraceSummary.BuildererrorRootCauses(Collection<ErrorRootCause> errorRootCauses)A collection of ErrorRootCause structures corresponding to the trace segments.TraceSummary.BuildererrorRootCauses(Consumer<ErrorRootCause.Builder>... errorRootCauses)A collection of ErrorRootCause structures corresponding to the trace segments.TraceSummary.BuildererrorRootCauses(ErrorRootCause... errorRootCauses)A collection of ErrorRootCause structures corresponding to the trace segments.TraceSummary.BuilderfaultRootCauses(Collection<FaultRootCause> faultRootCauses)A collection of FaultRootCause structures corresponding to the trace segments.TraceSummary.BuilderfaultRootCauses(Consumer<FaultRootCause.Builder>... faultRootCauses)A collection of FaultRootCause structures corresponding to the trace segments.TraceSummary.BuilderfaultRootCauses(FaultRootCause... faultRootCauses)A collection of FaultRootCause structures corresponding to the trace segments.TraceSummary.BuilderhasError(Boolean hasError)The root segment document has a 400 series error.TraceSummary.BuilderhasFault(Boolean hasFault)The root segment document has a 500 series error.TraceSummary.BuilderhasThrottle(Boolean hasThrottle)One or more of the segment documents has a 429 throttling error.default TraceSummary.Builderhttp(Consumer<Http.Builder> http)Information about the HTTP request served by the trace.TraceSummary.Builderhttp(Http http)Information about the HTTP request served by the trace.TraceSummary.Builderid(String id)The unique identifier for the request that generated the trace's segments and subsegments.TraceSummary.BuilderinstanceIds(Collection<InstanceIdDetail> instanceIds)A list of EC2 instance IDs for any instance corresponding to the trace segments.TraceSummary.BuilderinstanceIds(Consumer<InstanceIdDetail.Builder>... instanceIds)A list of EC2 instance IDs for any instance corresponding to the trace segments.TraceSummary.BuilderinstanceIds(InstanceIdDetail... instanceIds)A list of EC2 instance IDs for any instance corresponding to the trace segments.TraceSummary.BuilderisPartial(Boolean isPartial)One or more of the segment documents is in progress.TraceSummary.BuildermatchedEventTime(Instant matchedEventTime)The matched time stamp of a defined event.TraceSummary.BuilderresourceARNs(Collection<ResourceARNDetail> resourceARNs)A list of resource ARNs for any resource corresponding to the trace segments.TraceSummary.BuilderresourceARNs(Consumer<ResourceARNDetail.Builder>... resourceARNs)A list of resource ARNs for any resource corresponding to the trace segments.TraceSummary.BuilderresourceARNs(ResourceARNDetail... resourceARNs)A list of resource ARNs for any resource corresponding to the trace segments.TraceSummary.BuilderresponseTime(Double responseTime)The length of time in seconds between the start and end times of the root segment.TraceSummary.BuilderresponseTimeRootCauses(Collection<ResponseTimeRootCause> responseTimeRootCauses)A collection of ResponseTimeRootCause structures corresponding to the trace segments.TraceSummary.BuilderresponseTimeRootCauses(Consumer<ResponseTimeRootCause.Builder>... responseTimeRootCauses)A collection of ResponseTimeRootCause structures corresponding to the trace segments.TraceSummary.BuilderresponseTimeRootCauses(ResponseTimeRootCause... responseTimeRootCauses)A collection of ResponseTimeRootCause structures corresponding to the trace segments.TraceSummary.Builderrevision(Integer revision)The revision number of a trace.TraceSummary.BuilderserviceIds(Collection<ServiceId> serviceIds)Service IDs from the trace's segment documents.TraceSummary.BuilderserviceIds(Consumer<ServiceId.Builder>... serviceIds)Service IDs from the trace's segment documents.TraceSummary.BuilderserviceIds(ServiceId... serviceIds)Service IDs from the trace's segment documents.TraceSummary.BuilderstartTime(Instant startTime)The start time of a trace, based on the earliest trace segment start time.TraceSummary.Builderusers(Collection<TraceUser> users)Users from the trace's segment documents.TraceSummary.Builderusers(Consumer<TraceUser.Builder>... users)Users from the trace's segment documents.TraceSummary.Builderusers(TraceUser... users)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
TraceSummary.Builder id(String 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
TraceSummary.Builder startTime(Instant 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
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.
- 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
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.
- 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
TraceSummary.Builder hasFault(Boolean 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
TraceSummary.Builder hasError(Boolean 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
TraceSummary.Builder hasThrottle(Boolean 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
TraceSummary.Builder isPartial(Boolean 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
TraceSummary.Builder http(Http 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
default TraceSummary.Builder http(Consumer<Http.Builder> http)
Information about the HTTP request served by the trace.
This is a convenience method that creates an instance of theHttp.Builderavoiding the need to create one manually viaHttp.builder().When the
Consumercompletes,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:
http(Http)
-
annotations
TraceSummary.Builder annotations(Map<String,? extends Collection<ValueWithServiceIds>> 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
TraceSummary.Builder users(Collection<TraceUser> 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
TraceSummary.Builder users(TraceUser... 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
TraceSummary.Builder users(Consumer<TraceUser.Builder>... users)
Users from the trace's segment documents.
This is a convenience method that creates an instance of theTraceUser.Builderavoiding the need to create one manually viaTraceUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#users(List.) - 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:
#users(java.util.Collection)
-
serviceIds
TraceSummary.Builder serviceIds(Collection<ServiceId> 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
TraceSummary.Builder serviceIds(ServiceId... 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
TraceSummary.Builder serviceIds(Consumer<ServiceId.Builder>... serviceIds)
Service IDs from the trace's segment documents.
This is a convenience method that creates an instance of theServiceId.Builderavoiding the need to create one manually viaServiceId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serviceIds(List.) - 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:
#serviceIds(java.util.Collection)
-
resourceARNs
TraceSummary.Builder resourceARNs(Collection<ResourceARNDetail> 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
TraceSummary.Builder resourceARNs(ResourceARNDetail... 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
TraceSummary.Builder resourceARNs(Consumer<ResourceARNDetail.Builder>... 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.Builderavoiding the need to create one manually viaResourceARNDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceARNs(List.) - 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:
#resourceARNs(java.util.Collection)
-
instanceIds
TraceSummary.Builder instanceIds(Collection<InstanceIdDetail> 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
TraceSummary.Builder instanceIds(InstanceIdDetail... 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
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 method that creates an instance of theInstanceIdDetail.Builderavoiding the need to create one manually viaInstanceIdDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceIds(List.) - 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:
#instanceIds(java.util.Collection)
-
availabilityZones
TraceSummary.Builder availabilityZones(Collection<AvailabilityZoneDetail> 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(AvailabilityZoneDetail... 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.Builderavoiding the need to create one manually viaAvailabilityZoneDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#availabilityZones(List.) - 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:
#availabilityZones(java.util.Collection)
-
entryPoint
TraceSummary.Builder entryPoint(ServiceId 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
default TraceSummary.Builder entryPoint(Consumer<ServiceId.Builder> entryPoint)
The root of a trace.
This is a convenience method that creates an instance of theServiceId.Builderavoiding the need to create one manually viaServiceId.builder().When the
Consumercompletes,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:
entryPoint(ServiceId)
-
faultRootCauses
TraceSummary.Builder faultRootCauses(Collection<FaultRootCause> 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
TraceSummary.Builder faultRootCauses(FaultRootCause... 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
TraceSummary.Builder faultRootCauses(Consumer<FaultRootCause.Builder>... faultRootCauses)
A collection of FaultRootCause structures corresponding to the trace segments.
This is a convenience method that creates an instance of theFaultRootCause.Builderavoiding the need to create one manually viaFaultRootCause.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#faultRootCauses(List.) - 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:
#faultRootCauses(java.util.Collection)
-
errorRootCauses
TraceSummary.Builder errorRootCauses(Collection<ErrorRootCause> 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
TraceSummary.Builder errorRootCauses(ErrorRootCause... 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
TraceSummary.Builder errorRootCauses(Consumer<ErrorRootCause.Builder>... errorRootCauses)
A collection of ErrorRootCause structures corresponding to the trace segments.
This is a convenience method that creates an instance of theErrorRootCause.Builderavoiding the need to create one manually viaErrorRootCause.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errorRootCauses(List.) - 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:
#errorRootCauses(java.util.Collection)
-
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
TraceSummary.Builder responseTimeRootCauses(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
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.Builderavoiding the need to create one manually viaResponseTimeRootCause.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#responseTimeRootCauses(List.) - 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:
#responseTimeRootCauses(java.util.Collection)
-
revision
TraceSummary.Builder revision(Integer 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
TraceSummary.Builder matchedEventTime(Instant 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.
-
-