Interface SummaryMetricQueryResult.Builder

    • Method Detail

      • queryId

        SummaryMetricQueryResult.Builder queryId​(String queryId)

        The id of the query.

        Parameters:
        queryId - The id of the query.
        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.

        Parameters:
        error - The error message for the summary metric query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 summary metric query.

        Parameters:
        startTimestamp - The start timestamp for 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 summary metric query.

        Parameters:
        endTimestamp - The end timestamp for 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​(MetricQueryValue... values)

        The list of aggregated metrics.

        Parameters:
        values - The list of aggregated metrics.
        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.