public static interface DataResponse.Builder extends SdkPojo, CopyableBuilder<DataResponse.Builder,DataResponse>
| Modifier and Type | Method and Description |
|---|---|
DataResponse.Builder |
destination(String destination)
The Region or Availability Zone that's the destination for the data query.
|
DataResponse.Builder |
id(String id)
The ID passed in the
DataQuery. |
DataResponse.Builder |
metric(MetricType metric)
The metric used for the network performance request.
|
DataResponse.Builder |
metric(String metric)
The metric used for the network performance request.
|
DataResponse.Builder |
metricPoints(Collection<MetricPoint> metricPoints)
A list of
MetricPoint objects. |
DataResponse.Builder |
metricPoints(Consumer<MetricPoint.Builder>... metricPoints)
A list of
MetricPoint objects. |
DataResponse.Builder |
metricPoints(MetricPoint... metricPoints)
A list of
MetricPoint objects. |
DataResponse.Builder |
period(PeriodType period)
The period used for the network performance request.
|
DataResponse.Builder |
period(String period)
The period used for the network performance request.
|
DataResponse.Builder |
source(String source)
The Region or Availability Zone that's the source for the data query.
|
DataResponse.Builder |
statistic(StatisticType statistic)
The statistic used for the network performance request.
|
DataResponse.Builder |
statistic(String statistic)
The statistic used for the network performance request.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDataResponse.Builder id(String id)
The ID passed in the DataQuery.
id - The ID passed in the DataQuery.DataResponse.Builder source(String source)
The Region or Availability Zone that's the source for the data query. For example, us-east-1.
source - The Region or Availability Zone that's the source for the data query. For example,
us-east-1.DataResponse.Builder destination(String destination)
The Region or Availability Zone that's the destination for the data query. For example,
eu-west-1.
destination - The Region or Availability Zone that's the destination for the data query. For example,
eu-west-1.DataResponse.Builder metric(String metric)
The metric used for the network performance request. Currently only aggregate-latency is
supported, showing network latency during a specified period.
metric - The metric used for the network performance request. Currently only aggregate-latency is
supported, showing network latency during a specified period.MetricType,
MetricTypeDataResponse.Builder metric(MetricType metric)
The metric used for the network performance request. Currently only aggregate-latency is
supported, showing network latency during a specified period.
metric - The metric used for the network performance request. Currently only aggregate-latency is
supported, showing network latency during a specified period.MetricType,
MetricTypeDataResponse.Builder statistic(String statistic)
The statistic used for the network performance request.
statistic - The statistic used for the network performance request.StatisticType,
StatisticTypeDataResponse.Builder statistic(StatisticType statistic)
The statistic used for the network performance request.
statistic - The statistic used for the network performance request.StatisticType,
StatisticTypeDataResponse.Builder period(String period)
The period used for the network performance request.
period - The period used for the network performance request.PeriodType,
PeriodTypeDataResponse.Builder period(PeriodType period)
The period used for the network performance request.
period - The period used for the network performance request.PeriodType,
PeriodTypeDataResponse.Builder metricPoints(Collection<MetricPoint> metricPoints)
A list of MetricPoint objects.
metricPoints - A list of MetricPoint objects.DataResponse.Builder metricPoints(MetricPoint... metricPoints)
A list of MetricPoint objects.
metricPoints - A list of MetricPoint objects.DataResponse.Builder metricPoints(Consumer<MetricPoint.Builder>... metricPoints)
A list of MetricPoint objects.
MetricPoint.Builder avoiding the need to create one
manually via MetricPoint.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #metricPoints(List.
metricPoints - a consumer that will call methods on
MetricPoint.Builder#metricPoints(java.util.Collection) Copyright © 2022. All rights reserved.