Class SLOCountSpec

java.lang.Object
com.datadog.api.client.v1.model.SLOCountSpec

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOCountSpec extends Object
A metric SLI specification.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_COUNT

      public static final String JSON_PROPERTY_COUNT
      See Also:
  • Constructor Details

    • SLOCountSpec

      public SLOCountSpec()
    • SLOCountSpec

      public SLOCountSpec(SLOCountDefinition count)
  • Method Details

    • count

      public SLOCountSpec count(SLOCountDefinition count)
    • getCount

      public SLOCountDefinition getCount()
      A count-based (metric) SLI specification, composed of three parts: the good events formula, the bad or total events formula, and the underlying queries. Exactly one of total_events_formula or bad_events_formula must be provided.
      Returns:
      count
    • setCount

      public void setCount(SLOCountDefinition count)
    • equals

      public boolean equals(Object o)
      Return true if this SLOCountSpec 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