Interface DataResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataResponse.Builder,
,DataResponse> SdkBuilder<DataResponse.Builder,
,DataResponse> SdkPojo
- Enclosing class:
DataResponse
-
Method Summary
Modifier and TypeMethodDescriptiondestination
(String destination) The Region or Availability Zone that's the destination for the data query.The ID passed in theDataQuery
.The metric used for the network performance request.metric
(MetricType metric) The metric used for the network performance request.metricPoints
(Collection<MetricPoint> metricPoints) A list ofMetricPoint
objects.metricPoints
(Consumer<MetricPoint.Builder>... metricPoints) A list ofMetricPoint
objects.metricPoints
(MetricPoint... metricPoints) A list ofMetricPoint
objects.The period used for the network performance request.period
(PeriodType period) The period used for the network performance request.The Region or Availability Zone that's the source for the data query.The statistic used for the network performance request.statistic
(StatisticType statistic) The statistic used for the network performance request.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 Details
-
id
The ID passed in the
DataQuery
.- Parameters:
id
- The ID passed in theDataQuery
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The Region or Availability Zone that's the destination for the data query. For example,
eu-west-1
.- Parameters:
destination
- The Region or Availability Zone that's the destination for the data query. For example,eu-west-1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
The metric used for the network performance request. Only
aggregate-latency
is supported, which shows network latency during a specified period.- Parameters:
metric
- The metric used for the network performance request. Onlyaggregate-latency
is supported, which shows network latency during a specified period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metric
The metric used for the network performance request. Only
aggregate-latency
is supported, which shows network latency during a specified period.- Parameters:
metric
- The metric used for the network performance request. Onlyaggregate-latency
is supported, which shows network latency during a specified period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statistic
The statistic used for the network performance request.
- Parameters:
statistic
- The statistic used for the network performance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statistic
The statistic used for the network performance request.
- Parameters:
statistic
- The statistic used for the network performance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
period
The period used for the network performance request.
- Parameters:
period
- The period used for the network performance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
period
The period used for the network performance request.
- Parameters:
period
- The period used for the network performance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricPoints
A list of
MetricPoint
objects.- Parameters:
metricPoints
- A list ofMetricPoint
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricPoints
A list of
MetricPoint
objects.- Parameters:
metricPoints
- A list ofMetricPoint
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricPoints
A list of
This is a convenience method that creates an instance of theMetricPoint
objects.MetricPoint.Builder
avoiding the need to create one manually viaMetricPoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricPoints(List<MetricPoint>)
.- Parameters:
metricPoints
- a consumer that will call methods onMetricPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-