Class CfnAutoScalingGroup.AcceleratorCountRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.AcceleratorCountRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutoScalingGroup.AcceleratorCountRequestProperty>
- Enclosing interface:
CfnAutoScalingGroup.AcceleratorCountRequestProperty
@Stability(Stable)
public static final class CfnAutoScalingGroup.AcceleratorCountRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutoScalingGroup.AcceleratorCountRequestProperty>
A builder for
CfnAutoScalingGroup.AcceleratorCountRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAutoScalingGroup.AcceleratorCountRequestProperty.getMax()Sets the value ofCfnAutoScalingGroup.AcceleratorCountRequestProperty.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
@Stability(Stable) public CfnAutoScalingGroup.AcceleratorCountRequestProperty.Builder max(Number max) Sets the value ofCfnAutoScalingGroup.AcceleratorCountRequestProperty.getMax()- Parameters:
max- The maximum value.- Returns:
this
-
min
@Stability(Stable) public CfnAutoScalingGroup.AcceleratorCountRequestProperty.Builder min(Number min) Sets the value ofCfnAutoScalingGroup.AcceleratorCountRequestProperty.getMin()- Parameters:
min- The minimum value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutoScalingGroup.AcceleratorCountRequestProperty>- Returns:
- a new instance of
CfnAutoScalingGroup.AcceleratorCountRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-