public static interface GetMetricStatisticsResponse.Builder extends CloudWatchResponse.Builder, CopyableBuilder<GetMetricStatisticsResponse.Builder,GetMetricStatisticsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetMetricStatisticsResponse.Builder |
datapoints(Collection<Datapoint> datapoints)
The data points for the specified metric.
|
GetMetricStatisticsResponse.Builder |
datapoints(Consumer<Datapoint.Builder>... datapoints)
The data points for the specified metric.
|
GetMetricStatisticsResponse.Builder |
datapoints(Datapoint... datapoints)
The data points for the specified metric.
|
GetMetricStatisticsResponse.Builder |
label(String label)
A label for the specified metric.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetMetricStatisticsResponse.Builder label(String label)
A label for the specified metric.
label - A label for the specified metric.GetMetricStatisticsResponse.Builder datapoints(Collection<Datapoint> datapoints)
The data points for the specified metric.
datapoints - The data points for the specified metric.GetMetricStatisticsResponse.Builder datapoints(Datapoint... datapoints)
The data points for the specified metric.
datapoints - The data points for the specified metric.GetMetricStatisticsResponse.Builder datapoints(Consumer<Datapoint.Builder>... datapoints)
The data points for the specified metric.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #datapoints(List) .datapoints - a consumer that will call methods on List.Builder #datapoints(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.