Class GovernanceInsightAuditCompute

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

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

  • Constructor Details

    • GovernanceInsightAuditCompute

      public GovernanceInsightAuditCompute()
    • GovernanceInsightAuditCompute

      public GovernanceInsightAuditCompute(String aggregation, Long interval, String metric)
  • Method Details

    • aggregation

      public GovernanceInsightAuditCompute aggregation(String aggregation)
    • getAggregation

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

      public void setAggregation(String aggregation)
    • interval

      public GovernanceInsightAuditCompute interval(Long interval)
    • getInterval

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

      public void setInterval(Long interval)
    • metric

      public GovernanceInsightAuditCompute metric(String metric)
    • getMetric

      public String getMetric()
      The metric or attribute to aggregate.
      Returns:
      metric
    • setMetric

      public void setMetric(String metric)
    • rollup

      public GovernanceInsightAuditCompute rollup(String rollup)
    • getRollup

      @Nullable public String getRollup()
      An optional secondary aggregation applied to the audit query result.
      Returns:
      rollup
    • setRollup

      public void setRollup(String rollup)
    • putAdditionalProperty

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