Interface MetricGoal.Builder

    • Method Detail

      • desiredChange

        MetricGoal.Builder desiredChange​(String desiredChange)

        INCREASE means that a variation with a higher number for this metric is performing better.

        DECREASE means that a variation with a lower number for this metric is performing better.

        Parameters:
        desiredChange - INCREASE means that a variation with a higher number for this metric is performing better.

        DECREASE means that a variation with a lower number for this metric is performing better.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChangeDirectionEnum, ChangeDirectionEnum
      • desiredChange

        MetricGoal.Builder desiredChange​(ChangeDirectionEnum desiredChange)

        INCREASE means that a variation with a higher number for this metric is performing better.

        DECREASE means that a variation with a lower number for this metric is performing better.

        Parameters:
        desiredChange - INCREASE means that a variation with a higher number for this metric is performing better.

        DECREASE means that a variation with a lower number for this metric is performing better.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChangeDirectionEnum, ChangeDirectionEnum
      • metricDefinition

        MetricGoal.Builder metricDefinition​(MetricDefinition metricDefinition)

        A structure that contains details about the metric.

        Parameters:
        metricDefinition - A structure that contains details about the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.