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