Interface SummaryMetricQuery.Builder

    • Method Detail

      • queryId

        SummaryMetricQuery.Builder queryId​(String queryId)

        The id of the summary metric query.

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

        SummaryMetricQuery.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.
        See Also:
        MetricName, MetricName
      • dimensions

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

        The dimensions of the summary metric.

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

        SummaryMetricQuery.Builder dimensions​(Dimension... dimensions)

        The dimensions of the summary metric.

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

        SummaryMetricQuery.Builder aggregationPeriod​(String aggregationPeriod)

        The aggregation period of the summary metric.

        Parameters:
        aggregationPeriod - The aggregation period of the summary metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AggregationPeriod, AggregationPeriod
      • startTimestamp

        SummaryMetricQuery.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

        SummaryMetricQuery.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.