Class CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty>
- Enclosing interface:
CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty
@Stability(Stable)
public static final class CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty>
-
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 CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty.Builder scaleOutWorkersPerMinute(Number scaleOutWorkersPerMinute) Sets the value ofCfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty.getScaleOutWorkersPerMinute()- Parameters:
scaleOutWorkersPerMinute- the value to be set.- Returns:
this
-
standbyWorkerCount
@Stability(Stable) public CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty.Builder standbyWorkerCount(Number standbyWorkerCount) Sets the value ofCfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty.getStandbyWorkerCount()- Parameters:
standbyWorkerCount- the value to be set.- Returns:
this
-
workerIdleDurationSeconds
@Stability(Stable) public CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty.Builder workerIdleDurationSeconds(Number workerIdleDurationSeconds) Sets the value ofCfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty.getWorkerIdleDurationSeconds()- Parameters:
workerIdleDurationSeconds- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty>- Returns:
- a new instance of
CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-