Class ArbitraryIntervals.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.common.ArbitraryIntervals.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ArbitraryIntervals>
- Enclosing interface:
- ArbitraryIntervals
@Stability(Stable)
public static final class ArbitraryIntervals.Builder
extends Object
implements software.amazon.jsii.Builder<ArbitraryIntervals>
A builder for
ArbitraryIntervals-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofArbitraryIntervals.getAbsolute()build()Builds the configured instance.intervals(List<? extends ScalingInterval> intervals) Sets the value ofArbitraryIntervals.getIntervals()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
absolute
Sets the value ofArbitraryIntervals.getAbsolute()- Parameters:
absolute- the value to be set. This parameter is required.- Returns:
this
-
intervals
@Stability(Stable) public ArbitraryIntervals.Builder intervals(List<? extends ScalingInterval> intervals) Sets the value ofArbitraryIntervals.getIntervals()- Parameters:
intervals- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ArbitraryIntervals>- Returns:
- a new instance of
ArbitraryIntervals - Throws:
NullPointerException- if any required attribute was not provided
-