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