Class UsageLogsByRetentionHour

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageLogsByRetentionHour extends Object
The number of indexed logs for each hour for a given organization broken down by retention period.
  • Field Details

  • Constructor Details

    • UsageLogsByRetentionHour

      public UsageLogsByRetentionHour()
  • Method Details

    • indexedEventsCount

      public UsageLogsByRetentionHour indexedEventsCount(Long indexedEventsCount)
    • getIndexedEventsCount

      @Nullable public Long getIndexedEventsCount()
      Total logs indexed with this retention period during a given hour.
      Returns:
      indexedEventsCount
    • getIndexedEventsCount_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getIndexedEventsCount_JsonNullable()
    • setIndexedEventsCount_JsonNullable

      public void setIndexedEventsCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> indexedEventsCount)
    • setIndexedEventsCount

      public void setIndexedEventsCount(Long indexedEventsCount)
    • liveIndexedEventsCount

      public UsageLogsByRetentionHour liveIndexedEventsCount(Long liveIndexedEventsCount)
    • getLiveIndexedEventsCount

      @Nullable public Long getLiveIndexedEventsCount()
      Live logs indexed with this retention period during a given hour.
      Returns:
      liveIndexedEventsCount
    • getLiveIndexedEventsCount_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getLiveIndexedEventsCount_JsonNullable()
    • setLiveIndexedEventsCount_JsonNullable

      public void setLiveIndexedEventsCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> liveIndexedEventsCount)
    • setLiveIndexedEventsCount

      public void setLiveIndexedEventsCount(Long liveIndexedEventsCount)
    • orgName

      public UsageLogsByRetentionHour orgName(String orgName)
    • getOrgName

      @Nullable public String getOrgName()
      The organization name.
      Returns:
      orgName
    • setOrgName

      public void setOrgName(String orgName)
    • publicId

      public UsageLogsByRetentionHour publicId(String publicId)
    • getPublicId

      @Nullable public String getPublicId()
      The organization public ID.
      Returns:
      publicId
    • setPublicId

      public void setPublicId(String publicId)
    • rehydratedIndexedEventsCount

      public UsageLogsByRetentionHour rehydratedIndexedEventsCount(Long rehydratedIndexedEventsCount)
    • getRehydratedIndexedEventsCount

      @Nullable public Long getRehydratedIndexedEventsCount()
      Rehydrated logs indexed with this retention period during a given hour.
      Returns:
      rehydratedIndexedEventsCount
    • getRehydratedIndexedEventsCount_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getRehydratedIndexedEventsCount_JsonNullable()
    • setRehydratedIndexedEventsCount_JsonNullable

      public void setRehydratedIndexedEventsCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> rehydratedIndexedEventsCount)
    • setRehydratedIndexedEventsCount

      public void setRehydratedIndexedEventsCount(Long rehydratedIndexedEventsCount)
    • retention

      public UsageLogsByRetentionHour retention(String retention)
    • getRetention

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

      public org.openapitools.jackson.nullable.JsonNullable<String> getRetention_JsonNullable()
    • setRetention_JsonNullable

      public void setRetention_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> retention)
    • setRetention

      public void setRetention(String retention)
    • putAdditionalProperty

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