Class AggregatedUncompressedResource

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AggregatedUncompressedResource extends Object
Aggregated uncompressed resource detection grouped by URL path.
  • Field Details

  • Constructor Details

    • AggregatedUncompressedResource

      public AggregatedUncompressedResource()
    • AggregatedUncompressedResource

      public AggregatedUncompressedResource(Long avgBodySize, Long avgDuration, String fingerprint, Double impactScore, Integer instanceCount, String providerType, String renderBlocking, String resourceType, String urlPathGroup, Integer viewOccurrences)
  • Method Details

    • avgBodySize

      public AggregatedUncompressedResource avgBodySize(Long avgBodySize)
    • getAvgBodySize

      public Long getAvgBodySize()
      Average uncompressed body size in bytes.
      Returns:
      avgBodySize
    • setAvgBodySize

      public void setAvgBodySize(Long avgBodySize)
    • avgDuration

      public AggregatedUncompressedResource avgDuration(Long avgDuration)
    • getAvgDuration

      public Long getAvgDuration()
      Average resource loading duration in nanoseconds.
      Returns:
      avgDuration
    • setAvgDuration

      public void setAvgDuration(Long avgDuration)
    • fingerprint

      public AggregatedUncompressedResource fingerprint(String fingerprint)
    • getFingerprint

      public String getFingerprint()
      Unique fingerprint identifying this detection group.
      Returns:
      fingerprint
    • setFingerprint

      public void setFingerprint(String fingerprint)
    • impactScore

      public AggregatedUncompressedResource impactScore(Double impactScore)
    • getImpactScore

      public Double getImpactScore()
      Impact score combining view frequency and resource size.
      Returns:
      impactScore
    • setImpactScore

      public void setImpactScore(Double impactScore)
    • instanceCount

      public AggregatedUncompressedResource instanceCount(Integer instanceCount)
    • getInstanceCount

      public Integer getInstanceCount()
      Total number of detection instances across sampled views. maximum: 2147483647
      Returns:
      instanceCount
    • setInstanceCount

      public void setInstanceCount(Integer instanceCount)
    • providerType

      public AggregatedUncompressedResource providerType(String providerType)
    • getProviderType

      @Nullable public String getProviderType()
      CDN or hosting provider type for the resource.
      Returns:
      providerType
    • setProviderType

      public void setProviderType(String providerType)
    • renderBlocking

      public AggregatedUncompressedResource renderBlocking(String renderBlocking)
    • getRenderBlocking

      @Nullable public String getRenderBlocking()
      Whether the resource is render-blocking.
      Returns:
      renderBlocking
    • setRenderBlocking

      public void setRenderBlocking(String renderBlocking)
    • resourceType

      public AggregatedUncompressedResource resourceType(String resourceType)
    • getResourceType

      public String getResourceType()
      Type of the resource (JS, CSS, image, fetch, and so on).
      Returns:
      resourceType
    • setResourceType

      public void setResourceType(String resourceType)
    • urlPathGroup

      public AggregatedUncompressedResource urlPathGroup(String urlPathGroup)
    • getUrlPathGroup

      public String getUrlPathGroup()
      Normalized URL path pattern for the uncompressed resource.
      Returns:
      urlPathGroup
    • setUrlPathGroup

      public void setUrlPathGroup(String urlPathGroup)
    • viewOccurrences

      public AggregatedUncompressedResource viewOccurrences(Integer viewOccurrences)
    • getViewOccurrences

      public Integer getViewOccurrences()
      Number of sampled views where this detection occurred. maximum: 2147483647
      Returns:
      viewOccurrences
    • setViewOccurrences

      public void setViewOccurrences(Integer viewOccurrences)
    • putAdditionalProperty

      public AggregatedUncompressedResource 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:
      AggregatedUncompressedResource
    • 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 AggregatedUncompressedResource 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