Interface HistoricalMetricData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HistoricalMetricData.Builder,HistoricalMetricData>,SdkBuilder<HistoricalMetricData.Builder,HistoricalMetricData>,SdkPojo
- Enclosing class:
- HistoricalMetricData
public static interface HistoricalMetricData.Builder extends SdkPojo, CopyableBuilder<HistoricalMetricData.Builder,HistoricalMetricData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HistoricalMetricData.Buildermetric(Consumer<HistoricalMetric.Builder> metric)Information about the metric.HistoricalMetricData.Buildermetric(HistoricalMetric metric)Information about the metric.HistoricalMetricData.Buildervalue(Double value)The value of the metric.-
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 Detail
-
metric
HistoricalMetricData.Builder metric(HistoricalMetric metric)
Information about the metric.
- Parameters:
metric- Information about the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
default HistoricalMetricData.Builder metric(Consumer<HistoricalMetric.Builder> metric)
Information about the metric.
This is a convenience method that creates an instance of theHistoricalMetric.Builderavoiding the need to create one manually viaHistoricalMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometric(HistoricalMetric).- Parameters:
metric- a consumer that will call methods onHistoricalMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metric(HistoricalMetric)
-
value
HistoricalMetricData.Builder value(Double value)
The value of the metric.
- Parameters:
value- The value of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-