Class CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.deadline.CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty>
- Enclosing interface:
CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty
@Stability(Stable)
public static final class CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scaleOutWorkersPerMinute(Number scaleOutWorkersPerMinute) standbyWorkerCount(Number standbyWorkerCount) workerIdleDurationSeconds(Number workerIdleDurationSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scaleOutWorkersPerMinute
@Stability(Stable) public CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty.Builder scaleOutWorkersPerMinute(Number scaleOutWorkersPerMinute) Sets the value ofCfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty.getScaleOutWorkersPerMinute()- Parameters:
scaleOutWorkersPerMinute- the value to be set.- Returns:
this
-
standbyWorkerCount
@Stability(Stable) public CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty.Builder standbyWorkerCount(Number standbyWorkerCount) Sets the value ofCfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty.getStandbyWorkerCount()- Parameters:
standbyWorkerCount- the value to be set.- Returns:
this
-
workerIdleDurationSeconds
@Stability(Stable) public CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty.Builder workerIdleDurationSeconds(Number workerIdleDurationSeconds) Sets the value ofCfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty.getWorkerIdleDurationSeconds()- Parameters:
workerIdleDurationSeconds- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty>- Returns:
- a new instance of
CfnFleetPropsMixin.CustomerManagedAutoScalingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-