Class Series

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Series extends Object
A metric to submit to Datadog. See Datadog metrics.
  • Field Details

  • Constructor Details

  • Method Details

    • host

      public Series host(String host)
    • getHost

      @Nullable public String getHost()
      The name of the host that produced the metric.
      Returns:
      host
    • setHost

      public void setHost(String host)
    • interval

      public Series interval(Long interval)
    • getInterval

      @Nullable public Long getInterval()
      If the type of the metric is rate or count, define the corresponding interval in seconds.
      Returns:
      interval
    • getInterval_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getInterval_JsonNullable()
    • setInterval_JsonNullable

      public void setInterval_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> interval)
    • setInterval

      public void setInterval(Long interval)
    • metric

      public Series metric(String metric)
    • getMetric

      public String getMetric()
      The name of the timeseries.
      Returns:
      metric
    • setMetric

      public void setMetric(String metric)
    • points

      public Series points(List<List<Double>> points)
    • addPointsItem

      public Series addPointsItem(List<Double> pointsItem)
    • getPoints

      public List<List<Double>> getPoints()
      Points relating to a metric. All points must be tuples with timestamp and a scalar value (cannot be a string). Timestamps should be in POSIX time in seconds, and cannot be more than ten minutes in the future or more than one hour in the past.
      Returns:
      points
    • setPoints

      public void setPoints(List<List<Double>> points)
    • tags

      public Series tags(List<String> tags)
    • addTagsItem

      public Series addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      A list of tags associated with the metric.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • type

      public Series type(String type)
    • getType

      @Nullable public String getType()
      The type of the metric. Valid types are "",count, gauge, and rate.
      Returns:
      type
    • setType

      public void setType(String type)
    • putAdditionalProperty

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