Class ScalingPlanReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.autoscalingplans.ScalingPlanReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ScalingPlanReference>
- Enclosing interface:
ScalingPlanReference
@Stability(Stable)
public static final class ScalingPlanReference.Builder
extends Object
implements software.amazon.jsii.Builder<ScalingPlanReference>
A builder for
ScalingPlanReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scalingPlanId(String scalingPlanId) Sets the value ofScalingPlanReference.getScalingPlanId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scalingPlanId
Sets the value ofScalingPlanReference.getScalingPlanId()- Parameters:
scalingPlanId- The Id of the ScalingPlan resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ScalingPlanReference>- Returns:
- a new instance of
ScalingPlanReference - Throws:
NullPointerException- if any required attribute was not provided
-