Class CfnScalingPlanPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.autoscalingplans.CfnScalingPlanPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScalingPlanPropsMixin>
- Enclosing class:
CfnScalingPlanPropsMixin
@Stability(Stable)
public static final class CfnScalingPlanPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScalingPlanPropsMixin>
A fluent builder for
CfnScalingPlanPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionapplicationSource(CfnScalingPlanPropsMixin.ApplicationSourceProperty applicationSource) A CloudFormation stack or a set of tags.applicationSource(IResolvable applicationSource) A CloudFormation stack or a set of tags.build()create()create(CfnPropertyMixinOptions options) scalingInstructions(List<? extends Object> scalingInstructions) The scaling instructions.scalingInstructions(IResolvable scalingInstructions) The scaling instructions.
-
Method Details
-
create
@Stability(Stable) public static CfnScalingPlanPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnScalingPlanPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnScalingPlanPropsMixin.Builder.
-
applicationSource
@Stability(Stable) public CfnScalingPlanPropsMixin.Builder applicationSource(IResolvable applicationSource) A CloudFormation stack or a set of tags.You can create one scaling plan per application source. The
ApplicationSourceproperty must be present to ensure interoperability with the AWS Auto Scaling console.- Parameters:
applicationSource- A CloudFormation stack or a set of tags. This parameter is required.- Returns:
this- See Also:
-
applicationSource
@Stability(Stable) public CfnScalingPlanPropsMixin.Builder applicationSource(CfnScalingPlanPropsMixin.ApplicationSourceProperty applicationSource) A CloudFormation stack or a set of tags.You can create one scaling plan per application source. The
ApplicationSourceproperty must be present to ensure interoperability with the AWS Auto Scaling console.- Parameters:
applicationSource- A CloudFormation stack or a set of tags. This parameter is required.- Returns:
this- See Also:
-
scalingInstructions
@Stability(Stable) public CfnScalingPlanPropsMixin.Builder scalingInstructions(IResolvable scalingInstructions) The scaling instructions.- Parameters:
scalingInstructions- The scaling instructions. This parameter is required.- Returns:
this- See Also:
-
scalingInstructions
@Stability(Stable) public CfnScalingPlanPropsMixin.Builder scalingInstructions(List<? extends Object> scalingInstructions) The scaling instructions.- Parameters:
scalingInstructions- The scaling instructions. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScalingPlanPropsMixin>- Returns:
- a newly built instance of
CfnScalingPlanPropsMixin.
-