Interface TimeSeries.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TimeSeries.Builder,TimeSeries>,SdkBuilder<TimeSeries.Builder,TimeSeries>,SdkPojo
- Enclosing class:
- TimeSeries
public static interface TimeSeries.Builder extends SdkPojo, CopyableBuilder<TimeSeries.Builder,TimeSeries>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeSeries.BuilderdimensionList(Collection<DimensionNameValue> dimensionList)The dimensions of the metric.TimeSeries.BuilderdimensionList(Consumer<DimensionNameValue.Builder>... dimensionList)The dimensions of the metric.TimeSeries.BuilderdimensionList(DimensionNameValue... dimensionList)The dimensions of the metric.TimeSeries.BuildermetricValueList(Double... metricValueList)The values for the metric.TimeSeries.BuildermetricValueList(Collection<Double> metricValueList)The values for the metric.TimeSeries.BuildertimeSeriesId(String timeSeriesId)The ID 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
-
timeSeriesId
TimeSeries.Builder timeSeriesId(String timeSeriesId)
The ID of the metric.
- Parameters:
timeSeriesId- The ID of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionList
TimeSeries.Builder dimensionList(Collection<DimensionNameValue> dimensionList)
The dimensions of the metric.
- Parameters:
dimensionList- The dimensions of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionList
TimeSeries.Builder dimensionList(DimensionNameValue... dimensionList)
The dimensions of the metric.
- Parameters:
dimensionList- The dimensions of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionList
TimeSeries.Builder dimensionList(Consumer<DimensionNameValue.Builder>... dimensionList)
The dimensions of the metric.
This is a convenience method that creates an instance of theDimensionNameValue.Builderavoiding the need to create one manually viaDimensionNameValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dimensionList(List.) - Parameters:
dimensionList- a consumer that will call methods onDimensionNameValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dimensionList(java.util.Collection)
-
metricValueList
TimeSeries.Builder metricValueList(Collection<Double> metricValueList)
The values for the metric.
- Parameters:
metricValueList- The values for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricValueList
TimeSeries.Builder metricValueList(Double... metricValueList)
The values for the metric.
- Parameters:
metricValueList- The values for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-