Interface MetricKeyDataPoints.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricKeyDataPoints.Builder,
,MetricKeyDataPoints> SdkBuilder<MetricKeyDataPoints.Builder,
,MetricKeyDataPoints> SdkPojo
- Enclosing class:
MetricKeyDataPoints
public static interface MetricKeyDataPoints.Builder
extends SdkPojo, CopyableBuilder<MetricKeyDataPoints.Builder,MetricKeyDataPoints>
-
Method Summary
Modifier and TypeMethodDescriptiondataPoints
(Collection<DataPoint> dataPoints) An array of timestamp-value pairs, representing measurements over a period of time.dataPoints
(Consumer<DataPoint.Builder>... dataPoints) An array of timestamp-value pairs, representing measurements over a period of time.dataPoints
(DataPoint... dataPoints) An array of timestamp-value pairs, representing measurements over a period of time.default MetricKeyDataPoints.Builder
The dimensions to which the data points apply.The dimensions to which the data points apply.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
-
key
The dimensions to which the data points apply.
- Parameters:
key
- The dimensions to which the data points apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The dimensions to which the data points apply.
This is a convenience method that creates an instance of theResponseResourceMetricKey.Builder
avoiding the need to create one manually viaResponseResourceMetricKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokey(ResponseResourceMetricKey)
.- Parameters:
key
- a consumer that will call methods onResponseResourceMetricKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataPoints
An array of timestamp-value pairs, representing measurements over a period of time.
- Parameters:
dataPoints
- An array of timestamp-value pairs, representing measurements over a period of time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPoints
An array of timestamp-value pairs, representing measurements over a period of time.
- Parameters:
dataPoints
- An array of timestamp-value pairs, representing measurements over a period of time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPoints
An array of timestamp-value pairs, representing measurements over a period of time.
This is a convenience method that creates an instance of theDataPoint.Builder
avoiding the need to create one manually viaDataPoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataPoints(List<DataPoint>)
.- Parameters:
dataPoints
- a consumer that will call methods onDataPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-