Class AggregatedHighScriptEval

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AggregatedHighScriptEval extends Object
Aggregated high script evaluation detection grouped by source.
  • Field Details

  • Constructor Details

    • AggregatedHighScriptEval

      public AggregatedHighScriptEval()
    • AggregatedHighScriptEval

      public AggregatedHighScriptEval(Long avgDuration, Long avgForcedStyleLayout, String fingerprint, Double impactScore, Integer instanceCount, String invokerType, String sourceCategory, String sourceFunctionName, String sourceUrl, Integer viewOccurrences)
  • Method Details

    • avgDuration

      public AggregatedHighScriptEval avgDuration(Long avgDuration)
    • getAvgDuration

      public Long getAvgDuration()
      Average script evaluation duration in nanoseconds.
      Returns:
      avgDuration
    • setAvgDuration

      public void setAvgDuration(Long avgDuration)
    • avgForcedStyleLayout

      public AggregatedHighScriptEval avgForcedStyleLayout(Long avgForcedStyleLayout)
    • getAvgForcedStyleLayout

      public Long getAvgForcedStyleLayout()
      Average forced style/layout duration in nanoseconds.
      Returns:
      avgForcedStyleLayout
    • setAvgForcedStyleLayout

      public void setAvgForcedStyleLayout(Long avgForcedStyleLayout)
    • fingerprint

      public AggregatedHighScriptEval fingerprint(String fingerprint)
    • getFingerprint

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

      public void setFingerprint(String fingerprint)
    • impactScore

      public AggregatedHighScriptEval impactScore(Double impactScore)
    • getImpactScore

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

      public void setImpactScore(Double impactScore)
    • instanceCount

      public AggregatedHighScriptEval 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)
    • invokerType

      public AggregatedHighScriptEval invokerType(String invokerType)
    • getInvokerType

      public String getInvokerType()
      Type of invoker that triggered the script evaluation.
      Returns:
      invokerType
    • setInvokerType

      public void setInvokerType(String invokerType)
    • sourceCategory

      public AggregatedHighScriptEval sourceCategory(String sourceCategory)
    • getSourceCategory

      @Nullable public String getSourceCategory()
      Category of the script source.
      Returns:
      sourceCategory
    • setSourceCategory

      public void setSourceCategory(String sourceCategory)
    • sourceFunctionName

      public AggregatedHighScriptEval sourceFunctionName(String sourceFunctionName)
    • getSourceFunctionName

      public String getSourceFunctionName()
      Name of the function that triggered the high script evaluation.
      Returns:
      sourceFunctionName
    • setSourceFunctionName

      public void setSourceFunctionName(String sourceFunctionName)
    • sourceUrl

      public AggregatedHighScriptEval sourceUrl(String sourceUrl)
    • getSourceUrl

      @Nullable public String getSourceUrl()
      URL of the script that triggered the high script evaluation.
      Returns:
      sourceUrl
    • setSourceUrl

      public void setSourceUrl(String sourceUrl)
    • viewOccurrences

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