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