Class AutoScalingOptions.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.AutoScalingOptions.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<AutoScalingOptions>
- Enclosing interface:
- AutoScalingOptions
@Stability(Stable)
public static final class AutoScalingOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AutoScalingOptions>
A builder for 
AutoScalingOptions- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.maxCapacity(Number maxCapacity) Sets the value ofAutoScalingOptions.getMaxCapacity()minCapacity(Number minCapacity) Sets the value ofAutoScalingOptions.getMinCapacity()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
maxCapacitySets the value ofAutoScalingOptions.getMaxCapacity()- Parameters:
- maxCapacity- Maximum capacity to scale to. This parameter is required.
- Returns:
- this
 
- 
minCapacitySets the value ofAutoScalingOptions.getMinCapacity()- Parameters:
- minCapacity- Minimum capacity to scale to.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<AutoScalingOptions>
- Returns:
- a new instance of AutoScalingOptions
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-