Class MetricEstimateAttributes

java.lang.Object
com.datadog.api.client.v2.model.MetricEstimateAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricEstimateAttributes extends Object
Object containing the definition of a metric estimate attribute.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_ESTIMATE_TYPE

      public static final String JSON_PROPERTY_ESTIMATE_TYPE
      See Also:
    • JSON_PROPERTY_ESTIMATED_AT

      public static final String JSON_PROPERTY_ESTIMATED_AT
      See Also:
    • JSON_PROPERTY_ESTIMATED_OUTPUT_SERIES

      public static final String JSON_PROPERTY_ESTIMATED_OUTPUT_SERIES
      See Also:
  • Constructor Details

    • MetricEstimateAttributes

      public MetricEstimateAttributes()
  • Method Details

    • estimateType

      public MetricEstimateAttributes estimateType(MetricEstimateType estimateType)
    • getEstimateType

      @Nullable public MetricEstimateType getEstimateType()
      Estimate type based on the queried configuration. count_or_gauge is returned by default, and distribution is returned for distribution metrics. The filter[pct] query parameter has no effect on this value.
      Returns:
      estimateType
    • setEstimateType

      public void setEstimateType(MetricEstimateType estimateType)
    • estimatedAt

      public MetricEstimateAttributes estimatedAt(OffsetDateTime estimatedAt)
    • getEstimatedAt

      @Nullable public OffsetDateTime getEstimatedAt()
      Timestamp when the cardinality estimate was requested.
      Returns:
      estimatedAt
    • setEstimatedAt

      public void setEstimatedAt(OffsetDateTime estimatedAt)
    • estimatedOutputSeries

      public MetricEstimateAttributes estimatedOutputSeries(Long estimatedOutputSeries)
    • getEstimatedOutputSeries

      @Nullable public Long getEstimatedOutputSeries()
      Estimated cardinality of the metric based on the queried configuration.
      Returns:
      estimatedOutputSeries
    • setEstimatedOutputSeries

      public void setEstimatedOutputSeries(Long estimatedOutputSeries)
    • putAdditionalProperty

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