public static final class CfnLaunchTemplate.AcceleratorCountProperty.Builder
extends java.lang.Object
CfnLaunchTemplate.AcceleratorCountProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLaunchTemplate.AcceleratorCountProperty |
build()
Builds the configured instance.
|
CfnLaunchTemplate.AcceleratorCountProperty.Builder |
max(java.lang.Number max)
Sets the value of
CfnLaunchTemplate.AcceleratorCountProperty.getMax() |
CfnLaunchTemplate.AcceleratorCountProperty.Builder |
min(java.lang.Number min)
Sets the value of
CfnLaunchTemplate.AcceleratorCountProperty.getMin() |
public CfnLaunchTemplate.AcceleratorCountProperty.Builder max(java.lang.Number max)
CfnLaunchTemplate.AcceleratorCountProperty.getMax()
max
- The maximum number of accelerators.
To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max
to 0
.this
public CfnLaunchTemplate.AcceleratorCountProperty.Builder min(java.lang.Number min)
CfnLaunchTemplate.AcceleratorCountProperty.getMin()
min
- The minimum number of accelerators.
To specify no minimum limit, omit this parameter.this
public CfnLaunchTemplate.AcceleratorCountProperty build()
CfnLaunchTemplate.AcceleratorCountProperty
java.lang.NullPointerException
- if any required attribute was not provided