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