Class ProductAnalyticsJourneyScalarCompute

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

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

  • Constructor Details

    • ProductAnalyticsJourneyScalarCompute

      public ProductAnalyticsJourneyScalarCompute()
    • ProductAnalyticsJourneyScalarCompute

      public ProductAnalyticsJourneyScalarCompute(String aggregation)
  • Method Details

    • aggregation

      public ProductAnalyticsJourneyScalarCompute 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)
    • 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 ProductAnalyticsJourneyScalarCompute 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:
      ProductAnalyticsJourneyScalarCompute
    • 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 ProductAnalyticsJourneyScalarCompute 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