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