Interface PredictiveScalingMetric.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PredictiveScalingMetric.Builder,PredictiveScalingMetric>,SdkBuilder<PredictiveScalingMetric.Builder,PredictiveScalingMetric>,SdkPojo
- Enclosing class:
- PredictiveScalingMetric
public static interface PredictiveScalingMetric.Builder extends SdkPojo, CopyableBuilder<PredictiveScalingMetric.Builder,PredictiveScalingMetric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PredictiveScalingMetric.Builderdimensions(Collection<PredictiveScalingMetricDimension> dimensions)Describes the dimensions of the metric.PredictiveScalingMetric.Builderdimensions(Consumer<PredictiveScalingMetricDimension.Builder>... dimensions)Describes the dimensions of the metric.PredictiveScalingMetric.Builderdimensions(PredictiveScalingMetricDimension... dimensions)Describes the dimensions of the metric.PredictiveScalingMetric.BuildermetricName(String metricName)The name of the metric.PredictiveScalingMetric.Buildernamespace(String namespace)The namespace 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dimensions
PredictiveScalingMetric.Builder dimensions(Collection<PredictiveScalingMetricDimension> dimensions)
Describes the dimensions of the metric.
- Parameters:
dimensions- Describes the dimensions of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
PredictiveScalingMetric.Builder dimensions(PredictiveScalingMetricDimension... dimensions)
Describes the dimensions of the metric.
- Parameters:
dimensions- Describes the dimensions of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
PredictiveScalingMetric.Builder dimensions(Consumer<PredictiveScalingMetricDimension.Builder>... dimensions)
Describes the dimensions of the metric.
This is a convenience method that creates an instance of thePredictiveScalingMetricDimension.Builderavoiding the need to create one manually viaPredictiveScalingMetricDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dimensions(List.) - Parameters:
dimensions- a consumer that will call methods onPredictiveScalingMetricDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dimensions(java.util.Collection)
-
metricName
PredictiveScalingMetric.Builder metricName(String metricName)
The name of the metric.
- Parameters:
metricName- The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
PredictiveScalingMetric.Builder namespace(String namespace)
The namespace of the metric.
- Parameters:
namespace- The namespace of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-