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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataQuery.Builder
destination(String destination)
The Region or Availability Zone that's the target for the data query.DataQuery.Builder
id(String id)
A user-defined ID associated with a data query that's returned in thedataResponse
identifying the query.DataQuery.Builder
metric(String metric)
The metric,aggregation-latency
, indicating that network latency is aggregated for the query.DataQuery.Builder
metric(MetricType metric)
The metric,aggregation-latency
, indicating that network latency is aggregated for the query.DataQuery.Builder
period(String period)
The aggregation period used for the data query.DataQuery.Builder
period(PeriodType period)
The aggregation period used for the data query.DataQuery.Builder
source(String source)
The Region or Availability Zone that's the source for the data query.DataQuery.Builder
statistic(String statistic)
The metric data aggregation period,p50
, between the specifiedstartDate
andendDate
.DataQuery.Builder
statistic(StatisticType statistic)
The metric data aggregation period,p50
, between the specifiedstartDate
andendDate
.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
DataQuery.Builder id(String 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 toMyQuery01
in the query, thedataResponse
identifies the query asMyQuery01
.- Parameters:
id
- A user-defined ID associated with a data query that's returned in thedataResponse
identifying the query. For example, if you set the Id toMyQuery01
in the query, thedataResponse
identifies the query asMyQuery01
.- 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:
MetricType
,MetricType
-
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:
MetricType
,MetricType
-
statistic
DataQuery.Builder statistic(String statistic)
The metric data aggregation period,
p50
, between the specifiedstartDate
andendDate
. For example, a metric offive_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 specifiedstartDate
andendDate
. For example, a metric offive_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:
StatisticType
,StatisticType
-
statistic
DataQuery.Builder statistic(StatisticType statistic)
The metric data aggregation period,
p50
, between the specifiedstartDate
andendDate
. For example, a metric offive_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 specifiedstartDate
andendDate
. For example, a metric offive_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:
StatisticType
,StatisticType
-
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:
PeriodType
,PeriodType
-
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:
PeriodType
,PeriodType
-
-