Class LogsByRetention

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsByRetention extends Object
Object containing logs usage data broken down by retention period.
  • Field Details

  • Constructor Details

    • LogsByRetention

      public LogsByRetention()
  • Method Details

    • orgs

    • getOrgs

      @Nullable public LogsByRetentionOrgs getOrgs()
      Indexed logs usage summary for each organization for each retention period with usage.
      Returns:
      orgs
    • setOrgs

      public void setOrgs(LogsByRetentionOrgs orgs)
    • usage

    • addUsageItem

      public LogsByRetention addUsageItem(LogsRetentionAggSumUsage usageItem)
    • getUsage

      @Nullable public List<LogsRetentionAggSumUsage> getUsage()
      Aggregated index logs usage for each retention period with usage.
      Returns:
      usage
    • setUsage

      public void setUsage(List<LogsRetentionAggSumUsage> usage)
    • usageByMonth

      public LogsByRetention usageByMonth(LogsByRetentionMonthlyUsage usageByMonth)
    • getUsageByMonth

      @Nullable public LogsByRetentionMonthlyUsage getUsageByMonth()
      Object containing a summary of indexed logs usage by retention period for a single month.
      Returns:
      usageByMonth
    • setUsageByMonth

      public void setUsageByMonth(LogsByRetentionMonthlyUsage usageByMonth)
    • putAdditionalProperty

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