public static final class CfnScalingPlan.Builder
extends java.lang.Object
CfnScalingPlan
.Modifier and Type | Method and Description |
---|---|
CfnScalingPlan.Builder |
applicationSource(CfnScalingPlan.ApplicationSourceProperty applicationSource)
A CloudFormation stack or a set of tags.
|
CfnScalingPlan.Builder |
applicationSource(IResolvable applicationSource)
A CloudFormation stack or a set of tags.
|
CfnScalingPlan |
build() |
static CfnScalingPlan.Builder |
create(Construct scope,
java.lang.String id) |
CfnScalingPlan.Builder |
scalingInstructions(IResolvable scalingInstructions)
The scaling instructions.
|
CfnScalingPlan.Builder |
scalingInstructions(java.util.List<? extends java.lang.Object> scalingInstructions)
The scaling instructions.
|
public static CfnScalingPlan.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnScalingPlan.ApplicationSourceProperty.Builder
.public CfnScalingPlan.Builder applicationSource(CfnScalingPlan.ApplicationSourceProperty applicationSource)
You can create one scaling plan per application source. The ApplicationSource
property must be present to ensure interoperability with the AWS Auto Scaling console.
applicationSource
- A CloudFormation stack or a set of tags. This parameter is required.this
public CfnScalingPlan.Builder applicationSource(IResolvable applicationSource)
You can create one scaling plan per application source. The ApplicationSource
property must be present to ensure interoperability with the AWS Auto Scaling console.
applicationSource
- A CloudFormation stack or a set of tags. This parameter is required.this
public CfnScalingPlan.Builder scalingInstructions(IResolvable scalingInstructions)
scalingInstructions
- The scaling instructions. This parameter is required.this
public CfnScalingPlan.Builder scalingInstructions(java.util.List<? extends java.lang.Object> scalingInstructions)
scalingInstructions
- The scaling instructions. This parameter is required.this
public CfnScalingPlan build()