Interface SummaryMetricQueryResult.Builder

    • Method Detail

      • queryId

        SummaryMetricQueryResult.Builder queryId​(String queryId)

        The ID of the summary metric results query operation.

        Parameters:
        queryId - The ID of the summary metric results query operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • error

        SummaryMetricQueryResult.Builder error​(String error)

        The error message for the summary metric query result.

        Parameters:
        error - The error message for the summary metric query result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricName

        SummaryMetricQueryResult.Builder metricName​(String metricName)

        The name of the summary metric query result.

        Parameters:
        metricName - The name of the summary metric query result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricName, MetricName
      • metricName

        SummaryMetricQueryResult.Builder metricName​(MetricName metricName)

        The name of the summary metric query result.

        Parameters:
        metricName - The name of the summary metric query result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricName, MetricName
      • dimensions

        SummaryMetricQueryResult.Builder dimensions​(Collection<Dimension> dimensions)

        The dimensions of the metric.

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

        SummaryMetricQueryResult.Builder dimensions​(Dimension... dimensions)

        The dimensions of the metric.

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

        SummaryMetricQueryResult.Builder startTimestamp​(Instant startTimestamp)

        The start timestamp for the summary metric query.

        Parameters:
        startTimestamp - The start timestamp for the summary metric query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTimestamp

        SummaryMetricQueryResult.Builder endTimestamp​(Instant endTimestamp)

        The end timestamp for the summary metric query.

        Parameters:
        endTimestamp - The end timestamp for the summary metric query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamps

        SummaryMetricQueryResult.Builder timestamps​(Collection<Instant> timestamps)

        The timestamp of each aggregation result.

        Parameters:
        timestamps - The timestamp of each aggregation result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamps

        SummaryMetricQueryResult.Builder timestamps​(Instant... timestamps)

        The timestamp of each aggregation result.

        Parameters:
        timestamps - The timestamp of each aggregation result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        SummaryMetricQueryResult.Builder values​(Collection<MetricQueryValue> values)

        The list of aggregated summary metric query results.

        Parameters:
        values - The list of aggregated summary metric query results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        SummaryMetricQueryResult.Builder values​(MetricQueryValue... values)

        The list of aggregated summary metric query results.

        Parameters:
        values - The list of aggregated summary metric query results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        SummaryMetricQueryResult.Builder unit​(String unit)

        The units of measurement to be used for interpreting the aggregation result.

        Parameters:
        unit - The units of measurement to be used for interpreting the aggregation result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.