Interface MetricDataResult.Builder

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

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

    • id

      The query identifier.

      Parameters:
      id - The query identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamps

      MetricDataResult.Builder timestamps(Collection<Instant> timestamps)

      A list of timestamps for the metric data results.

      Parameters:
      timestamps - A list of timestamps for the metric data results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamps

      MetricDataResult.Builder timestamps(Instant... timestamps)

      A list of timestamps for the metric data results.

      Parameters:
      timestamps - A list of timestamps for the metric data results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      A list of values (cumulative / sum) for the metric data results.

      Parameters:
      values - A list of values (cumulative / sum) for the metric data results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      MetricDataResult.Builder values(Long... values)

      A list of values (cumulative / sum) for the metric data results.

      Parameters:
      values - A list of values (cumulative / sum) for the metric data results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.