Class EmrCreateCluster.ManagedScalingPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.ManagedScalingPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EmrCreateCluster.ManagedScalingPolicyProperty>
- Enclosing interface:
EmrCreateCluster.ManagedScalingPolicyProperty
@Stability(Stable)
public static final class EmrCreateCluster.ManagedScalingPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<EmrCreateCluster.ManagedScalingPolicyProperty>
A builder for
EmrCreateCluster.ManagedScalingPolicyProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofEmrCreateCluster.ManagedScalingPolicyProperty.getComputeLimits()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeLimits
@Stability(Stable) public EmrCreateCluster.ManagedScalingPolicyProperty.Builder computeLimits(EmrCreateCluster.ManagedScalingComputeLimitsProperty computeLimits) Sets the value ofEmrCreateCluster.ManagedScalingPolicyProperty.getComputeLimits()
- Parameters:
computeLimits
- The Amazon EC2 unit limits for a managed scaling policy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EmrCreateCluster.ManagedScalingPolicyProperty>
- Returns:
- a new instance of
EmrCreateCluster.ManagedScalingPolicyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-