Interface MetricDatum.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricDatum.Builder,,MetricDatum> SdkBuilder<MetricDatum.Builder,,MetricDatum> SdkPojo
- Enclosing class:
MetricDatum
-
Method Summary
Modifier and TypeMethodDescriptiondimensions(Collection<Dimension> dimensions) Internal only.dimensions(Consumer<Dimension.Builder>... dimensions) Internal only.dimensions(Dimension... dimensions) Internal only.metricName(String metricName) Internal only.default MetricDatum.BuilderstatisticValues(Consumer<StatisticSet.Builder> statisticValues) Internal only.statisticValues(StatisticSet statisticValues) Internal only.Internal only.Internal only.Internal only.Internal only.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
-
metricName
Internal only. The name of the metric.
- Parameters:
metricName- Internal only. The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
Internal only. The time the metric data was received.
- Parameters:
timestamp- Internal only. The time the metric data was received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
Internal only. The dimensions associated with the metric.
- Parameters:
dimensions- Internal only. The dimensions associated with the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
Internal only. The dimensions associated with the metric.
- Parameters:
dimensions- Internal only. The dimensions associated with the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
Internal only. The dimensions associated with the metric.
This is a convenience method that creates an instance of theDimension.Builderavoiding the need to create one manually viaDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimensions(List<Dimension>).- Parameters:
dimensions- a consumer that will call methods onDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
Internal only. The value for the metric.
- Parameters:
value- Internal only. The value for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
Internal only. The unit used to store the metric.
- Parameters:
unit- Internal only. The unit used to store the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unit
Internal only. The unit used to store the metric.
- Parameters:
unit- Internal only. The unit used to store the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statisticValues
Internal only. The statistical values for the metric.
- Parameters:
statisticValues- Internal only. The statistical values for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticValues
Internal only. The statistical values for the metric.
This is a convenience method that creates an instance of theStatisticSet.Builderavoiding the need to create one manually viaStatisticSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatisticValues(StatisticSet).- Parameters:
statisticValues- a consumer that will call methods onStatisticSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-