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.Builderdestination(String destination)The Region or Availability Zone that's the target for the data query.DataQuery.Builderid(String id)A user-defined ID associated with a data query that's returned in thedataResponseidentifying the query.DataQuery.Buildermetric(String metric)The metric used for the network performance request.DataQuery.Buildermetric(MetricType metric)The metric used for the network performance request.DataQuery.Builderperiod(String period)The aggregation period used for the data query.DataQuery.Builderperiod(PeriodType period)The aggregation period used for the data query.DataQuery.Buildersource(String source)The Region or Availability Zone that's the source for the data query.DataQuery.Builderstatistic(String statistic)The metric data aggregation period,p50, between the specifiedstartDateandendDate.DataQuery.Builderstatistic(StatisticType statistic)The metric data aggregation period,p50, between the specifiedstartDateandendDate.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
DataQuery.Builder id(String id)
A user-defined ID associated with a data query that's returned in the
dataResponseidentifying the query. For example, if you set the Id toMyQuery01in the query, thedataResponseidentifies the query asMyQuery01.- Parameters:
id- A user-defined ID associated with a data query that's returned in thedataResponseidentifying the query. For example, if you set the Id toMyQuery01in the query, thedataResponseidentifies 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 used for the network performance request.
- Parameters:
metric- The metric used for the network performance request.- 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 used for the network performance request.
- Parameters:
metric- The metric used for the network performance request.- 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 specifiedstartDateandendDate. For example, a metric offive_minutesis the median of all the data points gathered within those five minutes.p50is the only supported metric.- Parameters:
statistic- The metric data aggregation period,p50, between the specifiedstartDateandendDate. For example, a metric offive_minutesis the median of all the data points gathered within those five minutes.p50is 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 specifiedstartDateandendDate. For example, a metric offive_minutesis the median of all the data points gathered within those five minutes.p50is the only supported metric.- Parameters:
statistic- The metric data aggregation period,p50, between the specifiedstartDateandendDate. For example, a metric offive_minutesis the median of all the data points gathered within those five minutes.p50is 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
-
-