Class CfnFleet.FleetConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnFleet.FleetConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet.FleetConfigurationProperty>
- Enclosing interface:
CfnFleet.FleetConfigurationProperty
@Stability(Stable)
public static final class CfnFleet.FleetConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleet.FleetConfigurationProperty>
A builder for
CfnFleet.FleetConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customerManaged
(IResolvable customerManaged) Sets the value ofCfnFleet.FleetConfigurationProperty.getCustomerManaged()
customerManaged
(CfnFleet.CustomerManagedFleetConfigurationProperty customerManaged) Sets the value ofCfnFleet.FleetConfigurationProperty.getCustomerManaged()
serviceManagedEc2
(IResolvable serviceManagedEc2) Sets the value ofCfnFleet.FleetConfigurationProperty.getServiceManagedEc2()
serviceManagedEc2
(CfnFleet.ServiceManagedEc2FleetConfigurationProperty serviceManagedEc2) Sets the value ofCfnFleet.FleetConfigurationProperty.getServiceManagedEc2()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerManaged
@Stability(Stable) public CfnFleet.FleetConfigurationProperty.Builder customerManaged(IResolvable customerManaged) Sets the value ofCfnFleet.FleetConfigurationProperty.getCustomerManaged()
- Parameters:
customerManaged
- The customer managed fleets within a fleet configuration.- Returns:
this
-
customerManaged
@Stability(Stable) public CfnFleet.FleetConfigurationProperty.Builder customerManaged(CfnFleet.CustomerManagedFleetConfigurationProperty customerManaged) Sets the value ofCfnFleet.FleetConfigurationProperty.getCustomerManaged()
- Parameters:
customerManaged
- The customer managed fleets within a fleet configuration.- Returns:
this
-
serviceManagedEc2
@Stability(Stable) public CfnFleet.FleetConfigurationProperty.Builder serviceManagedEc2(IResolvable serviceManagedEc2) Sets the value ofCfnFleet.FleetConfigurationProperty.getServiceManagedEc2()
- Parameters:
serviceManagedEc2
- The service managed Amazon EC2 instances for a fleet configuration.- Returns:
this
-
serviceManagedEc2
@Stability(Stable) public CfnFleet.FleetConfigurationProperty.Builder serviceManagedEc2(CfnFleet.ServiceManagedEc2FleetConfigurationProperty serviceManagedEc2) Sets the value ofCfnFleet.FleetConfigurationProperty.getServiceManagedEc2()
- Parameters:
serviceManagedEc2
- The service managed Amazon EC2 instances for a fleet configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFleet.FleetConfigurationProperty>
- Returns:
- a new instance of
CfnFleet.FleetConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-