Class AggregatedResource

java.lang.Object
com.datadog.api.client.v2.model.AggregatedResource

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AggregatedResource extends Object
Aggregated performance statistics for a single network resource across sampled view instances.
  • Field Details

  • Constructor Details

  • Method Details

    • avgDurationMs

      public AggregatedResource avgDurationMs(Double avgDurationMs)
    • getAvgDurationMs

      public Double getAvgDurationMs()
      Average total duration in milliseconds.
      Returns:
      avgDurationMs
    • setAvgDurationMs

      public void setAvgDurationMs(Double avgDurationMs)
    • avgStartTimeMs

      public AggregatedResource avgStartTimeMs(Double avgStartTimeMs)
    • getAvgStartTimeMs

      public Double getAvgStartTimeMs()
      Average start time relative to view start in milliseconds.
      Returns:
      avgStartTimeMs
    • setAvgStartTimeMs

      public void setAvgStartTimeMs(Double avgStartTimeMs)
    • cacheHitRatePct

      public AggregatedResource cacheHitRatePct(Double cacheHitRatePct)
    • getCacheHitRatePct

      public Double getCacheHitRatePct()
      Cache hit rate as a percentage.
      Returns:
      cacheHitRatePct
    • setCacheHitRatePct

      public void setCacheHitRatePct(Double cacheHitRatePct)
    • cachedCount

      public AggregatedResource cachedCount(Integer cachedCount)
    • getCachedCount

      public Integer getCachedCount()
      Number of requests served from cache. maximum: 2147483647
      Returns:
      cachedCount
    • setCachedCount

      public void setCachedCount(Integer cachedCount)
    • downloadedCount

      public AggregatedResource downloadedCount(Integer downloadedCount)
    • getDownloadedCount

      public Integer getDownloadedCount()
      Number of requests downloaded from the network. maximum: 2147483647
      Returns:
      downloadedCount
    • setDownloadedCount

      public void setDownloadedCount(Integer downloadedCount)
    • globalP75DurationMs

      public AggregatedResource globalP75DurationMs(Double globalP75DurationMs)
    • getGlobalP75DurationMs

      @Nullable public Double getGlobalP75DurationMs()
      75th percentile duration across all view names in the application, present when include_global_appearance is true.
      Returns:
      globalP75DurationMs
    • setGlobalP75DurationMs

      public void setGlobalP75DurationMs(Double globalP75DurationMs)
    • globalViewNameCount

      public AggregatedResource globalViewNameCount(Integer globalViewNameCount)
    • getGlobalViewNameCount

      @Nullable public Integer getGlobalViewNameCount()
      Number of distinct view names in the application that load this resource, present when include_global_appearance is true. maximum: 2147483647
      Returns:
      globalViewNameCount
    • setGlobalViewNameCount

      public void setGlobalViewNameCount(Integer globalViewNameCount)
    • globalViewNamePct

      public AggregatedResource globalViewNamePct(Double globalViewNamePct)
    • getGlobalViewNamePct

      @Nullable public Double getGlobalViewNamePct()
      Percentage of distinct view names in the application that load this resource, present when include_global_appearance is true.
      Returns:
      globalViewNamePct
    • setGlobalViewNamePct

      public void setGlobalViewNamePct(Double globalViewNamePct)
    • httpMethod

      public AggregatedResource httpMethod(String httpMethod)
    • getHttpMethod

      @Nullable public String getHttpMethod()
      HTTP method for the resource request.
      Returns:
      httpMethod
    • setHttpMethod

      public void setHttpMethod(String httpMethod)
    • loadFrequencyPct

      public AggregatedResource loadFrequencyPct(Double loadFrequencyPct)
    • getLoadFrequencyPct

      public Double getLoadFrequencyPct()
      Percentage of sampled view instances that loaded this resource.
      Returns:
      loadFrequencyPct
    • setLoadFrequencyPct

      public void setLoadFrequencyPct(Double loadFrequencyPct)
    • localCacheCount

      public AggregatedResource localCacheCount(Integer localCacheCount)
    • getLocalCacheCount

      public Integer getLocalCacheCount()
      Number of requests served from the local browser cache without a network round trip. maximum: 2147483647
      Returns:
      localCacheCount
    • setLocalCacheCount

      public void setLocalCacheCount(Integer localCacheCount)
    • maxDurationMs

      public AggregatedResource maxDurationMs(Double maxDurationMs)
    • getMaxDurationMs

      public Double getMaxDurationMs()
      Maximum duration in milliseconds.
      Returns:
      maxDurationMs
    • setMaxDurationMs

      public void setMaxDurationMs(Double maxDurationMs)
    • medianDurationMs

      public AggregatedResource medianDurationMs(Double medianDurationMs)
    • getMedianDurationMs

      public Double getMedianDurationMs()
      Median duration in milliseconds.
      Returns:
      medianDurationMs
    • setMedianDurationMs

      public void setMedianDurationMs(Double medianDurationMs)
    • minDurationMs

      public AggregatedResource minDurationMs(Double minDurationMs)
    • getMinDurationMs

      public Double getMinDurationMs()
      Minimum duration in milliseconds.
      Returns:
      minDurationMs
    • setMinDurationMs

      public void setMinDurationMs(Double minDurationMs)
    • nonBlockingCount

      public AggregatedResource nonBlockingCount(Integer nonBlockingCount)
    • getNonBlockingCount

      public Integer getNonBlockingCount()
      Number of requests reported by the browser as non-render-blocking. maximum: 2147483647
      Returns:
      nonBlockingCount
    • setNonBlockingCount

      public void setNonBlockingCount(Integer nonBlockingCount)
    • p75DurationMs

      public AggregatedResource p75DurationMs(Double p75DurationMs)
    • getP75DurationMs

      public Double getP75DurationMs()
      75th percentile duration in milliseconds.
      Returns:
      p75DurationMs
    • setP75DurationMs

      public void setP75DurationMs(Double p75DurationMs)
    • p95DurationMs

      public AggregatedResource p95DurationMs(Double p95DurationMs)
    • getP95DurationMs

      public Double getP95DurationMs()
      95th percentile duration in milliseconds.
      Returns:
      p95DurationMs
    • setP95DurationMs

      public void setP95DurationMs(Double p95DurationMs)
    • renderBlockingCount

      public AggregatedResource renderBlockingCount(Integer renderBlockingCount)
    • getRenderBlockingCount

      public Integer getRenderBlockingCount()
      Number of requests reported by the browser as render-blocking. maximum: 2147483647
      Returns:
      renderBlockingCount
    • setRenderBlockingCount

      public void setRenderBlockingCount(Integer renderBlockingCount)
    • renderBlockingPct

      public AggregatedResource renderBlockingPct(Double renderBlockingPct)
    • getRenderBlockingPct

      public Double getRenderBlockingPct()
      Percentage of render-blocking requests among those reporting a render-blocking status.
      Returns:
      renderBlockingPct
    • setRenderBlockingPct

      public void setRenderBlockingPct(Double renderBlockingPct)
    • resourceType

      public AggregatedResource resourceType(String resourceType)
    • getResourceType

      @Nullable public String getResourceType()
      Resource type (JS, CSS, image, fetch, XHR, document, and so on).
      Returns:
      resourceType
    • setResourceType

      public void setResourceType(String resourceType)
    • resourceUrlPathGroup

      public AggregatedResource resourceUrlPathGroup(String resourceUrlPathGroup)
    • getResourceUrlPathGroup

      public String getResourceUrlPathGroup()
      URL path group used to aggregate similar resources.
      Returns:
      resourceUrlPathGroup
    • setResourceUrlPathGroup

      public void setResourceUrlPathGroup(String resourceUrlPathGroup)
    • serverValidatedCacheCount

      public AggregatedResource serverValidatedCacheCount(Integer serverValidatedCacheCount)
    • getServerValidatedCacheCount

      public Integer getServerValidatedCacheCount()
      Number of cached requests revalidated by the server with a 304 response. maximum: 2147483647
      Returns:
      serverValidatedCacheCount
    • setServerValidatedCacheCount

      public void setServerValidatedCacheCount(Integer serverValidatedCacheCount)
    • timingBreakdown

      public AggregatedResource timingBreakdown(AggregatedResourceTimingBreakdown timingBreakdown)
    • getTimingBreakdown

      public AggregatedResourceTimingBreakdown getTimingBreakdown()
      Average timing breakdown per network phase for a resource.
      Returns:
      timingBreakdown
    • setTimingBreakdown

      public void setTimingBreakdown(AggregatedResourceTimingBreakdown timingBreakdown)
    • totalRequests

      public AggregatedResource totalRequests(Integer totalRequests)
    • getTotalRequests

      public Integer getTotalRequests()
      Total number of requests for this resource across all sampled views. maximum: 2147483647
      Returns:
      totalRequests
    • setTotalRequests

      public void setTotalRequests(Integer totalRequests)
    • viewsWithResource

      public AggregatedResource viewsWithResource(Integer viewsWithResource)
    • getViewsWithResource

      public Integer getViewsWithResource()
      Number of sampled view instances that loaded this resource. maximum: 2147483647
      Returns:
      viewsWithResource
    • setViewsWithResource

      public void setViewsWithResource(Integer viewsWithResource)
    • putAdditionalProperty

      public AggregatedResource putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      AggregatedResource
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this AggregatedResource object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object