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