Interface HistoricalMetricResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HistoricalMetricResult.Builder,
,HistoricalMetricResult> SdkBuilder<HistoricalMetricResult.Builder,
,HistoricalMetricResult> SdkPojo
- Enclosing class:
HistoricalMetricResult
@Mutable
@NotThreadSafe
public static interface HistoricalMetricResult.Builder
extends SdkPojo, CopyableBuilder<HistoricalMetricResult.Builder,HistoricalMetricResult>
-
Method Summary
Modifier and TypeMethodDescriptioncollections
(Collection<HistoricalMetricData> collections) The set of metrics.collections
(Consumer<HistoricalMetricData.Builder>... collections) The set of metrics.collections
(HistoricalMetricData... collections) The set of metrics.default HistoricalMetricResult.Builder
dimensions
(Consumer<Dimensions.Builder> dimensions) The dimension for the metrics.dimensions
(Dimensions dimensions) The dimension for the metrics.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, sdkFieldNameToField, sdkFields
-
Method Details
-
dimensions
The dimension for the metrics.
- Parameters:
dimensions
- The dimension for the metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimension for the metrics.
This is a convenience method that creates an instance of theDimensions.Builder
avoiding the need to create one manually viaDimensions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensions(Dimensions)
.- Parameters:
dimensions
- a consumer that will call methods onDimensions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
collections
The set of metrics.
- Parameters:
collections
- The set of metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collections
The set of metrics.
- Parameters:
collections
- The set of metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collections
The set of metrics.
This is a convenience method that creates an instance of theHistoricalMetricData.Builder
avoiding the need to create one manually viaHistoricalMetricData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollections(List<HistoricalMetricData>)
.- Parameters:
collections
- a consumer that will call methods onHistoricalMetricData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-