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