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