Interface PredictiveScalingMetricSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PredictiveScalingMetricSpecification.Builder,
,PredictiveScalingMetricSpecification> SdkBuilder<PredictiveScalingMetricSpecification.Builder,
,PredictiveScalingMetricSpecification> SdkPojo
- Enclosing class:
PredictiveScalingMetricSpecification
-
Method Summary
Modifier and TypeMethodDescriptioncustomizedCapacityMetricSpecification
(Consumer<PredictiveScalingCustomizedMetricSpecification.Builder> customizedCapacityMetricSpecification) The customized capacity metric specification.customizedCapacityMetricSpecification
(PredictiveScalingCustomizedMetricSpecification customizedCapacityMetricSpecification) The customized capacity metric specification.customizedLoadMetricSpecification
(Consumer<PredictiveScalingCustomizedMetricSpecification.Builder> customizedLoadMetricSpecification) The customized load metric specification.customizedLoadMetricSpecification
(PredictiveScalingCustomizedMetricSpecification customizedLoadMetricSpecification) The customized load metric specification.customizedScalingMetricSpecification
(Consumer<PredictiveScalingCustomizedMetricSpecification.Builder> customizedScalingMetricSpecification) The customized scaling metric specification.customizedScalingMetricSpecification
(PredictiveScalingCustomizedMetricSpecification customizedScalingMetricSpecification) The customized scaling metric specification.predefinedLoadMetricSpecification
(Consumer<PredictiveScalingPredefinedLoadMetricSpecification.Builder> predefinedLoadMetricSpecification) The predefined load metric specification.predefinedLoadMetricSpecification
(PredictiveScalingPredefinedLoadMetricSpecification predefinedLoadMetricSpecification) The predefined load metric specification.predefinedMetricPairSpecification
(Consumer<PredictiveScalingPredefinedMetricPairSpecification.Builder> predefinedMetricPairSpecification) The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.predefinedMetricPairSpecification
(PredictiveScalingPredefinedMetricPairSpecification predefinedMetricPairSpecification) The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.predefinedScalingMetricSpecification
(Consumer<PredictiveScalingPredefinedScalingMetricSpecification.Builder> predefinedScalingMetricSpecification) The predefined scaling metric specification.predefinedScalingMetricSpecification
(PredictiveScalingPredefinedScalingMetricSpecification predefinedScalingMetricSpecification) The predefined scaling metric specification.targetValue
(Double targetValue) Specifies the target utilization.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
-
targetValue
Specifies the target utilization.
- Parameters:
targetValue
- Specifies the target utilization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predefinedMetricPairSpecification
PredictiveScalingMetricSpecification.Builder predefinedMetricPairSpecification(PredictiveScalingPredefinedMetricPairSpecification predefinedMetricPairSpecification) The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
- Parameters:
predefinedMetricPairSpecification
- The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predefinedMetricPairSpecification
default PredictiveScalingMetricSpecification.Builder predefinedMetricPairSpecification(Consumer<PredictiveScalingPredefinedMetricPairSpecification.Builder> predefinedMetricPairSpecification) The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
This is a convenience method that creates an instance of thePredictiveScalingPredefinedMetricPairSpecification.Builder
avoiding the need to create one manually viaPredictiveScalingPredefinedMetricPairSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topredefinedMetricPairSpecification(PredictiveScalingPredefinedMetricPairSpecification)
.- Parameters:
predefinedMetricPairSpecification
- a consumer that will call methods onPredictiveScalingPredefinedMetricPairSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
predefinedScalingMetricSpecification
PredictiveScalingMetricSpecification.Builder predefinedScalingMetricSpecification(PredictiveScalingPredefinedScalingMetricSpecification predefinedScalingMetricSpecification) The predefined scaling metric specification.
- Parameters:
predefinedScalingMetricSpecification
- The predefined scaling metric specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predefinedScalingMetricSpecification
default PredictiveScalingMetricSpecification.Builder predefinedScalingMetricSpecification(Consumer<PredictiveScalingPredefinedScalingMetricSpecification.Builder> predefinedScalingMetricSpecification) The predefined scaling metric specification.
This is a convenience method that creates an instance of thePredictiveScalingPredefinedScalingMetricSpecification.Builder
avoiding the need to create one manually viaPredictiveScalingPredefinedScalingMetricSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topredefinedScalingMetricSpecification(PredictiveScalingPredefinedScalingMetricSpecification)
.- Parameters:
predefinedScalingMetricSpecification
- a consumer that will call methods onPredictiveScalingPredefinedScalingMetricSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
predefinedLoadMetricSpecification
PredictiveScalingMetricSpecification.Builder predefinedLoadMetricSpecification(PredictiveScalingPredefinedLoadMetricSpecification predefinedLoadMetricSpecification) The predefined load metric specification.
- Parameters:
predefinedLoadMetricSpecification
- The predefined load metric specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predefinedLoadMetricSpecification
default PredictiveScalingMetricSpecification.Builder predefinedLoadMetricSpecification(Consumer<PredictiveScalingPredefinedLoadMetricSpecification.Builder> predefinedLoadMetricSpecification) The predefined load metric specification.
This is a convenience method that creates an instance of thePredictiveScalingPredefinedLoadMetricSpecification.Builder
avoiding the need to create one manually viaPredictiveScalingPredefinedLoadMetricSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topredefinedLoadMetricSpecification(PredictiveScalingPredefinedLoadMetricSpecification)
.- Parameters:
predefinedLoadMetricSpecification
- a consumer that will call methods onPredictiveScalingPredefinedLoadMetricSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customizedScalingMetricSpecification
PredictiveScalingMetricSpecification.Builder customizedScalingMetricSpecification(PredictiveScalingCustomizedMetricSpecification customizedScalingMetricSpecification) The customized scaling metric specification.
- Parameters:
customizedScalingMetricSpecification
- The customized scaling metric specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizedScalingMetricSpecification
default PredictiveScalingMetricSpecification.Builder customizedScalingMetricSpecification(Consumer<PredictiveScalingCustomizedMetricSpecification.Builder> customizedScalingMetricSpecification) The customized scaling metric specification.
This is a convenience method that creates an instance of thePredictiveScalingCustomizedMetricSpecification.Builder
avoiding the need to create one manually viaPredictiveScalingCustomizedMetricSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomizedScalingMetricSpecification(PredictiveScalingCustomizedMetricSpecification)
.- Parameters:
customizedScalingMetricSpecification
- a consumer that will call methods onPredictiveScalingCustomizedMetricSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customizedLoadMetricSpecification
PredictiveScalingMetricSpecification.Builder customizedLoadMetricSpecification(PredictiveScalingCustomizedMetricSpecification customizedLoadMetricSpecification) The customized load metric specification.
- Parameters:
customizedLoadMetricSpecification
- The customized load metric specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizedLoadMetricSpecification
default PredictiveScalingMetricSpecification.Builder customizedLoadMetricSpecification(Consumer<PredictiveScalingCustomizedMetricSpecification.Builder> customizedLoadMetricSpecification) The customized load metric specification.
This is a convenience method that creates an instance of thePredictiveScalingCustomizedMetricSpecification.Builder
avoiding the need to create one manually viaPredictiveScalingCustomizedMetricSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomizedLoadMetricSpecification(PredictiveScalingCustomizedMetricSpecification)
.- Parameters:
customizedLoadMetricSpecification
- a consumer that will call methods onPredictiveScalingCustomizedMetricSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customizedCapacityMetricSpecification
PredictiveScalingMetricSpecification.Builder customizedCapacityMetricSpecification(PredictiveScalingCustomizedMetricSpecification customizedCapacityMetricSpecification) The customized capacity metric specification.
- Parameters:
customizedCapacityMetricSpecification
- The customized capacity metric specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizedCapacityMetricSpecification
default PredictiveScalingMetricSpecification.Builder customizedCapacityMetricSpecification(Consumer<PredictiveScalingCustomizedMetricSpecification.Builder> customizedCapacityMetricSpecification) The customized capacity metric specification.
This is a convenience method that creates an instance of thePredictiveScalingCustomizedMetricSpecification.Builder
avoiding the need to create one manually viaPredictiveScalingCustomizedMetricSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomizedCapacityMetricSpecification(PredictiveScalingCustomizedMetricSpecification)
.- Parameters:
customizedCapacityMetricSpecification
- a consumer that will call methods onPredictiveScalingCustomizedMetricSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-