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