Class ProductAnalyticsGraphQueryCompute

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsGraphQueryCompute extends Object
Defines the metric computed over the journey.
  • Field Details

  • Constructor Details

    • ProductAnalyticsGraphQueryCompute

      public ProductAnalyticsGraphQueryCompute()
    • ProductAnalyticsGraphQueryCompute

      public ProductAnalyticsGraphQueryCompute(String aggregation)
  • Method Details

    • aggregation

      public ProductAnalyticsGraphQueryCompute aggregation(String aggregation)
    • getAggregation

      public String getAggregation()
      Aggregation function: count, cardinality, avg, median, min, max, sum, or a percentile of the form pc<N> such as pc95. Defaults to cardinality.
      Returns:
      aggregation
    • setAggregation

      public void setAggregation(String aggregation)
    • interval

      public ProductAnalyticsGraphQueryCompute interval(Long interval)
    • getInterval

      @Nullable public Long getInterval()
      Time bucket interval in milliseconds, used by timeseries queries.
      Returns:
      interval
    • setInterval

      public void setInterval(Long interval)
    • metric

      public ProductAnalyticsGraphQueryCompute metric(String metric)
    • getMetric

      @Nullable public String getMetric()
      Metric to aggregate on. Use a facet path such as @view.time_spent, or one of the journey metrics __dd.conversion, __dd.conversion_rate, __dd.time_to_convert, or __dd.dropoff_rate. Defaults to __dd.conversion.
      Returns:
      metric
    • setMetric

      public void setMetric(String metric)
    • target

    • getTarget

      @Nullable public ProductAnalyticsJourneyTarget getTarget()
      A reference to a step, or a range of steps, in the journey. Use a node target to name a single step, or a path target to name the range between two steps.
      Returns:
      target
    • setTarget

      public void setTarget(ProductAnalyticsJourneyTarget target)
    • putAdditionalProperty

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