Interface TraceSummary.Builder

    • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.