Interface MetricKeyDataPoints.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricKeyDataPoints.Builder,,MetricKeyDataPoints> SdkBuilder<MetricKeyDataPoints.Builder,,MetricKeyDataPoints> SdkPojo
- Enclosing class:
MetricKeyDataPoints
@Mutable
@NotThreadSafe
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.BuilderThe 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaResponseResourceMetricKey.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDataPoint.builder().When the
Consumercompletes,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:
-