Class UsageLogsByIndexHour

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageLogsByIndexHour extends Object
Number of indexed logs for each hour and index for a given organization.
  • Field Details

  • Constructor Details

    • UsageLogsByIndexHour

      public UsageLogsByIndexHour()
  • Method Details

    • eventCount

      public UsageLogsByIndexHour eventCount(Long eventCount)
    • getEventCount

      @Nullable public Long getEventCount()
      The total number of indexed logs for the queried hour.
      Returns:
      eventCount
    • setEventCount

      public void setEventCount(Long eventCount)
    • hour

    • getHour

      @Nullable public OffsetDateTime getHour()
      The hour for the usage.
      Returns:
      hour
    • setHour

      public void setHour(OffsetDateTime hour)
    • indexId

      public UsageLogsByIndexHour indexId(String indexId)
    • getIndexId

      @Nullable public String getIndexId()
      The index ID for this usage.
      Returns:
      indexId
    • setIndexId

      public void setIndexId(String indexId)
    • indexName

      public UsageLogsByIndexHour indexName(String indexName)
    • getIndexName

      @Nullable public String getIndexName()
      The user specified name for this index ID.
      Returns:
      indexName
    • setIndexName

      public void setIndexName(String indexName)
    • orgName

      public UsageLogsByIndexHour orgName(String orgName)
    • getOrgName

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

      public void setOrgName(String orgName)
    • publicId

      public UsageLogsByIndexHour publicId(String publicId)
    • getPublicId

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

      public void setPublicId(String publicId)
    • retention

      public UsageLogsByIndexHour retention(Long retention)
    • getRetention

      @Nullable public Long getRetention()
      The retention period (in days) for this index ID.
      Returns:
      retention
    • setRetention

      public void setRetention(Long retention)
    • putAdditionalProperty

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