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