Class CompleteScalingInterval.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.common.CompleteScalingInterval.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CompleteScalingInterval>
- Enclosing interface:
- CompleteScalingInterval
@Stability(Stable)
public static final class CompleteScalingInterval.Builder
extends Object
implements software.amazon.jsii.Builder<CompleteScalingInterval>
A builder for
CompleteScalingInterval
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCompleteScalingInterval.getChange()
Sets the value ofCompleteScalingInterval.getLower()
Sets the value ofCompleteScalingInterval.getUpper()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lower
Sets the value ofCompleteScalingInterval.getLower()
- Parameters:
lower
- the value to be set. This parameter is required.- Returns:
this
-
upper
Sets the value ofCompleteScalingInterval.getUpper()
- Parameters:
upper
- the value to be set. This parameter is required.- Returns:
this
-
change
Sets the value ofCompleteScalingInterval.getChange()
- Parameters:
change
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CompleteScalingInterval>
- Returns:
- a new instance of
CompleteScalingInterval
- Throws:
NullPointerException
- if any required attribute was not provided
-