Class LogsRetentionSumUsage

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsRetentionSumUsage extends Object
Object containing indexed logs usage grouped by retention period and summed.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_LOGS_INDEXED_LOGS_USAGE_SUM

      public static final String JSON_PROPERTY_LOGS_INDEXED_LOGS_USAGE_SUM
      See Also:
    • JSON_PROPERTY_LOGS_LIVE_INDEXED_LOGS_USAGE_SUM

      public static final String JSON_PROPERTY_LOGS_LIVE_INDEXED_LOGS_USAGE_SUM
      See Also:
    • JSON_PROPERTY_LOGS_REHYDRATED_INDEXED_LOGS_USAGE_SUM

      public static final String JSON_PROPERTY_LOGS_REHYDRATED_INDEXED_LOGS_USAGE_SUM
      See Also:
    • JSON_PROPERTY_RETENTION

      public static final String JSON_PROPERTY_RETENTION
      See Also:
  • Constructor Details

    • LogsRetentionSumUsage

      public LogsRetentionSumUsage()
  • Method Details

    • logsIndexedLogsUsageSum

      public LogsRetentionSumUsage logsIndexedLogsUsageSum(Long logsIndexedLogsUsageSum)
    • getLogsIndexedLogsUsageSum

      @Nullable public Long getLogsIndexedLogsUsageSum()
      Total indexed logs for this retention period.
      Returns:
      logsIndexedLogsUsageSum
    • setLogsIndexedLogsUsageSum

      public void setLogsIndexedLogsUsageSum(Long logsIndexedLogsUsageSum)
    • logsLiveIndexedLogsUsageSum

      public LogsRetentionSumUsage logsLiveIndexedLogsUsageSum(Long logsLiveIndexedLogsUsageSum)
    • getLogsLiveIndexedLogsUsageSum

      @Nullable public Long getLogsLiveIndexedLogsUsageSum()
      Live indexed logs for this retention period.
      Returns:
      logsLiveIndexedLogsUsageSum
    • setLogsLiveIndexedLogsUsageSum

      public void setLogsLiveIndexedLogsUsageSum(Long logsLiveIndexedLogsUsageSum)
    • logsRehydratedIndexedLogsUsageSum

      public LogsRetentionSumUsage logsRehydratedIndexedLogsUsageSum(Long logsRehydratedIndexedLogsUsageSum)
    • getLogsRehydratedIndexedLogsUsageSum

      @Nullable public Long getLogsRehydratedIndexedLogsUsageSum()
      Rehydrated indexed logs for this retention period.
      Returns:
      logsRehydratedIndexedLogsUsageSum
    • setLogsRehydratedIndexedLogsUsageSum

      public void setLogsRehydratedIndexedLogsUsageSum(Long logsRehydratedIndexedLogsUsageSum)
    • retention

      public LogsRetentionSumUsage retention(String retention)
    • getRetention

      @Nullable public String getRetention()
      The retention period in days or "custom" for all custom retention periods.
      Returns:
      retention
    • setRetention

      public void setRetention(String retention)
    • putAdditionalProperty

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