public static interface GetMetricStatisticsResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method that creates an instance of theDatapoint.Builder avoiding the need to create one
manually via Datapoint.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #datapoints(List.
datapoints - a consumer that will call methods on
Datapoint.Builder#datapoints(java.util.Collection) Copyright © 2023. All rights reserved.