Class EventsCompute

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class EventsCompute extends Object
The instructions for what to compute for this query.
  • Field Details

  • Constructor Details

    • EventsCompute

      public EventsCompute()
    • EventsCompute

      public EventsCompute(EventsAggregation aggregation)
  • Method Details

    • aggregation

      public EventsCompute aggregation(EventsAggregation aggregation)
    • getAggregation

      public EventsAggregation getAggregation()
      The type of aggregation that can be performed on events-based queries.
      Returns:
      aggregation
    • setAggregation

      public void setAggregation(EventsAggregation aggregation)
    • interval

      public EventsCompute interval(Long interval)
    • getInterval

      @Nullable public Long getInterval()
      Interval for compute in milliseconds.
      Returns:
      interval
    • setInterval

      public void setInterval(Long interval)
    • metric

      public EventsCompute metric(String metric)
    • getMetric

      @Nullable public String getMetric()
      The "measure" attribute on which to perform the computation.
      Returns:
      metric
    • setMetric

      public void setMetric(String metric)
    • putAdditionalProperty

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