Class CfnSpotFleetPropsMixin.MemoryMiBRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnSpotFleetPropsMixin.MemoryMiBRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.MemoryMiBRequestProperty>
- Enclosing interface:
CfnSpotFleetPropsMixin.MemoryMiBRequestProperty
@Stability(Stable)
public static final class CfnSpotFleetPropsMixin.MemoryMiBRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.MemoryMiBRequestProperty>
A builder for
CfnSpotFleetPropsMixin.MemoryMiBRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSpotFleetPropsMixin.MemoryMiBRequestProperty.getMax()Sets the value ofCfnSpotFleetPropsMixin.MemoryMiBRequestProperty.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
Sets the value ofCfnSpotFleetPropsMixin.MemoryMiBRequestProperty.getMax()- Parameters:
max- The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.- Returns:
this
-
min
Sets the value ofCfnSpotFleetPropsMixin.MemoryMiBRequestProperty.getMin()- Parameters:
min- The minimum amount of memory, in MiB. To specify no minimum limit, specify0.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpotFleetPropsMixin.MemoryMiBRequestProperty>- Returns:
- a new instance of
CfnSpotFleetPropsMixin.MemoryMiBRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-