Class ScorecardScoreAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScorecardScoreAttributes extends Object
Attributes of a scorecard score.
  • Field Details

  • Constructor Details

    • ScorecardScoreAttributes

      public ScorecardScoreAttributes()
  • Method Details

    • aggregation

      public ScorecardScoreAttributes aggregation(ScorecardScoresAggregation aggregation)
    • getAggregation

      @Nullable public ScorecardScoresAggregation getAggregation()
      Dimension to group scores by.
      Returns:
      aggregation
    • setAggregation

      public void setAggregation(ScorecardScoresAggregation aggregation)
    • denominator

      public ScorecardScoreAttributes denominator(Long denominator)
    • getDenominator

      @Nullable public Long getDenominator()
      The denominator used to compute the score ratio.
      Returns:
      denominator
    • setDenominator

      public void setDenominator(Long denominator)
    • level

      public ScorecardScoreAttributes level(Long level)
    • getLevel

      @Nullable public Long getLevel()
      The maturity level of the associated rule.
      Returns:
      level
    • setLevel

      public void setLevel(Long level)
    • numerator

      public ScorecardScoreAttributes numerator(Long numerator)
    • getNumerator

      @Nullable public Long getNumerator()
      The numerator used to compute the score ratio.
      Returns:
      numerator
    • setNumerator

      public void setNumerator(Long numerator)
    • score

      public ScorecardScoreAttributes score(Double score)
    • getScore

      @Nullable public Double getScore()
      The computed score ratio (numerator/denominator), from 0 to 1.
      Returns:
      score
    • setScore

      public void setScore(Double score)
    • totalEntities

      public ScorecardScoreAttributes totalEntities(Long totalEntities)
    • getTotalEntities

      @Nullable public Long getTotalEntities()
      The total number of entities evaluated.
      Returns:
      totalEntities
    • setTotalEntities

      public void setTotalEntities(Long totalEntities)
    • totalFail

      public ScorecardScoreAttributes totalFail(Long totalFail)
    • getTotalFail

      @Nullable public Long getTotalFail()
      The number of rules that failed.
      Returns:
      totalFail
    • setTotalFail

      public void setTotalFail(Long totalFail)
    • totalNoData

      public ScorecardScoreAttributes totalNoData(Long totalNoData)
    • getTotalNoData

      @Nullable public Long getTotalNoData()
      The number of rules with no data.
      Returns:
      totalNoData
    • setTotalNoData

      public void setTotalNoData(Long totalNoData)
    • totalPass

      public ScorecardScoreAttributes totalPass(Long totalPass)
    • getTotalPass

      @Nullable public Long getTotalPass()
      The number of rules that passed.
      Returns:
      totalPass
    • setTotalPass

      public void setTotalPass(Long totalPass)
    • totalSkip

      public ScorecardScoreAttributes totalSkip(Long totalSkip)
    • getTotalSkip

      @Nullable public Long getTotalSkip()
      The number of rules that were skipped.
      Returns:
      totalSkip
    • setTotalSkip

      public void setTotalSkip(Long totalSkip)
    • putAdditionalProperty

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