Class CfnFleet.FleetCapabilitiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnFleet.FleetCapabilitiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet.FleetCapabilitiesProperty>
- Enclosing interface:
CfnFleet.FleetCapabilitiesProperty
@Stability(Stable)
public static final class CfnFleet.FleetCapabilitiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleet.FleetCapabilitiesProperty>
A builder for
CfnFleet.FleetCapabilitiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFleet.FleetCapabilitiesProperty.getAmounts()
amounts
(IResolvable amounts) Sets the value ofCfnFleet.FleetCapabilitiesProperty.getAmounts()
attributes
(List<? extends Object> attributes) Sets the value ofCfnFleet.FleetCapabilitiesProperty.getAttributes()
attributes
(IResolvable attributes) Sets the value ofCfnFleet.FleetCapabilitiesProperty.getAttributes()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amounts
Sets the value ofCfnFleet.FleetCapabilitiesProperty.getAmounts()
- Parameters:
amounts
- Amount capabilities of the fleet.- Returns:
this
-
amounts
@Stability(Stable) public CfnFleet.FleetCapabilitiesProperty.Builder amounts(List<? extends Object> amounts) Sets the value ofCfnFleet.FleetCapabilitiesProperty.getAmounts()
- Parameters:
amounts
- Amount capabilities of the fleet.- Returns:
this
-
attributes
@Stability(Stable) public CfnFleet.FleetCapabilitiesProperty.Builder attributes(IResolvable attributes) Sets the value ofCfnFleet.FleetCapabilitiesProperty.getAttributes()
- Parameters:
attributes
- Attribute capabilities of the fleet.- Returns:
this
-
attributes
@Stability(Stable) public CfnFleet.FleetCapabilitiesProperty.Builder attributes(List<? extends Object> attributes) Sets the value ofCfnFleet.FleetCapabilitiesProperty.getAttributes()
- Parameters:
attributes
- Attribute capabilities of the fleet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFleet.FleetCapabilitiesProperty>
- Returns:
- a new instance of
CfnFleet.FleetCapabilitiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-