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