Interface MetricData.Builder

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

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

    • metricName

      MetricData.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.
    • value

      MetricData.Builder value(Float value)

      The value of the metric.

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

      MetricData.Builder timestamp(Instant timestamp)

      The date and time that the algorithm emitted the metric.

      Parameters:
      timestamp - The date and time that the algorithm emitted the metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.