Interface Metric.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Metric.Builder,Metric>, SdkBuilder<Metric.Builder,Metric>, SdkPojo
Enclosing class:
Metric

public static interface Metric.Builder extends SdkPojo, CopyableBuilder<Metric.Builder,Metric>
  • Method Details

    • metricName

      Metric.Builder metricName(String metricName)

      The name of the metric.

      Parameters:
      metricName - The name of the metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationFunction

      Metric.Builder aggregationFunction(String aggregationFunction)

      The function with which the metric is calculated.

      Parameters:
      aggregationFunction - The function with which the metric is calculated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregationFunction

      Metric.Builder aggregationFunction(AggregationFunction aggregationFunction)

      The function with which the metric is calculated.

      Parameters:
      aggregationFunction - The function with which the metric is calculated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • namespace

      Metric.Builder namespace(String namespace)

      The namespace for the metric.

      Parameters:
      namespace - The namespace for the metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.