Class GovernanceInsightEventCompute

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GovernanceInsightEventCompute extends Object
The aggregation applied to an event query.
  • Field Details

  • Constructor Details

    • GovernanceInsightEventCompute

      public GovernanceInsightEventCompute()
    • GovernanceInsightEventCompute

      public GovernanceInsightEventCompute(String aggregation, Long interval)
  • Method Details

    • aggregation

      public GovernanceInsightEventCompute aggregation(String aggregation)
    • getAggregation

      public String getAggregation()
      The aggregation function to apply.
      Returns:
      aggregation
    • setAggregation

      public void setAggregation(String aggregation)
    • interval

      public GovernanceInsightEventCompute interval(Long interval)
    • getInterval

      public Long getInterval()
      The aggregation time window, in milliseconds.
      Returns:
      interval
    • setInterval

      public void setInterval(Long interval)
    • putAdditionalProperty

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