CopyableBuilder<GetMetricStatisticsResponse.Builder,GetMetricStatisticsResponse>
, SdkBuilder<GetMetricStatisticsResponse.Builder,GetMetricStatisticsResponse>
public static interface GetMetricStatisticsResponse.Builder extends CopyableBuilder<GetMetricStatisticsResponse.Builder,GetMetricStatisticsResponse>
Modifier and Type | Method | Description |
---|---|---|
GetMetricStatisticsResponse.Builder |
datapoints(Collection<Datapoint> 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.
|
copy
apply, build
GetMetricStatisticsResponse.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.
NOTE: This method appends the values to the existing list (if any). Use
#setDatapoints(java.util.Collection)
or #withDatapoints(java.util.Collection)
if you want to
override the existing values.
datapoints
- The data points for the specified metric.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.