Interface DataQuery.Builder

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

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

    • id

      A user-defined ID associated with a data query that's returned in the dataResponse identifying the query. For example, if you set the Id to MyQuery01in the query, the dataResponse identifies the query as MyQuery01.

      Parameters:
      id - A user-defined ID associated with a data query that's returned in the dataResponse identifying the query. For example, if you set the Id to MyQuery01in the query, the dataResponse identifies the query as MyQuery01.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      DataQuery.Builder source(String source)

      The Region or Availability Zone that's the source for the data query. For example, us-east-1.

      Parameters:
      source - The Region or Availability Zone that's the source for the data query. For example, us-east-1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destination

      DataQuery.Builder destination(String destination)

      The Region or Availability Zone that's the target for the data query. For example, eu-north-1.

      Parameters:
      destination - The Region or Availability Zone that's the target for the data query. For example, eu-north-1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metric

      DataQuery.Builder metric(String metric)

      The metric, aggregation-latency, indicating that network latency is aggregated for the query. This is the only supported metric.

      Parameters:
      metric - The metric, aggregation-latency, indicating that network latency is aggregated for the query. This is the only supported metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metric

      DataQuery.Builder metric(MetricType metric)

      The metric, aggregation-latency, indicating that network latency is aggregated for the query. This is the only supported metric.

      Parameters:
      metric - The metric, aggregation-latency, indicating that network latency is aggregated for the query. This is the only supported metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statistic

      DataQuery.Builder statistic(String statistic)

      The metric data aggregation period, p50, between the specified startDate and endDate. For example, a metric of five_minutes is the median of all the data points gathered within those five minutes. p50 is the only supported metric.

      Parameters:
      statistic - The metric data aggregation period, p50, between the specified startDate and endDate. For example, a metric of five_minutes is the median of all the data points gathered within those five minutes. p50 is the only supported metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statistic

      DataQuery.Builder statistic(StatisticType statistic)

      The metric data aggregation period, p50, between the specified startDate and endDate. For example, a metric of five_minutes is the median of all the data points gathered within those five minutes. p50 is the only supported metric.

      Parameters:
      statistic - The metric data aggregation period, p50, between the specified startDate and endDate. For example, a metric of five_minutes is the median of all the data points gathered within those five minutes. p50 is the only supported metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • period

      DataQuery.Builder period(String period)

      The aggregation period used for the data query.

      Parameters:
      period - The aggregation period used for the data query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • period

      DataQuery.Builder period(PeriodType period)

      The aggregation period used for the data query.

      Parameters:
      period - The aggregation period used for the data query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: