Class UsageTopAvgMetricsHour

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageTopAvgMetricsHour extends Object
Number of hourly recorded custom metrics for a given organization.
  • Field Details

  • Constructor Details

    • UsageTopAvgMetricsHour

      public UsageTopAvgMetricsHour()
  • Method Details

    • avgMetricHour

      public UsageTopAvgMetricsHour avgMetricHour(Long avgMetricHour)
    • getAvgMetricHour

      @Nullable public Long getAvgMetricHour()
      Average number of timeseries per hour in which the metric occurs.
      Returns:
      avgMetricHour
    • setAvgMetricHour

      public void setAvgMetricHour(Long avgMetricHour)
    • maxMetricHour

      public UsageTopAvgMetricsHour maxMetricHour(Long maxMetricHour)
    • getMaxMetricHour

      @Nullable public Long getMaxMetricHour()
      Maximum number of timeseries per hour in which the metric occurs.
      Returns:
      maxMetricHour
    • setMaxMetricHour

      public void setMaxMetricHour(Long maxMetricHour)
    • metricCategory

      public UsageTopAvgMetricsHour metricCategory(UsageMetricCategory metricCategory)
    • getMetricCategory

      @Nullable public UsageMetricCategory getMetricCategory()
      Contains the metric category.
      Returns:
      metricCategory
    • setMetricCategory

      public void setMetricCategory(UsageMetricCategory metricCategory)
    • metricName

      public UsageTopAvgMetricsHour metricName(String metricName)
    • getMetricName

      @Nullable public String getMetricName()
      Contains the custom metric name.
      Returns:
      metricName
    • setMetricName

      public void setMetricName(String metricName)
    • putAdditionalProperty

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