public static final class CfnScalingPlanProps.Builder
extends java.lang.Object
CfnScalingPlanProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnScalingPlanProps.Builder |
applicationSource(CfnScalingPlan.ApplicationSourceProperty applicationSource)
Sets the value of
CfnScalingPlanProps.getApplicationSource() |
CfnScalingPlanProps.Builder |
applicationSource(IResolvable applicationSource)
Sets the value of
CfnScalingPlanProps.getApplicationSource() |
CfnScalingPlanProps |
build()
Builds the configured instance.
|
CfnScalingPlanProps.Builder |
scalingInstructions(IResolvable scalingInstructions)
Sets the value of
CfnScalingPlanProps.getScalingInstructions() |
CfnScalingPlanProps.Builder |
scalingInstructions(java.util.List<? extends java.lang.Object> scalingInstructions)
Sets the value of
CfnScalingPlanProps.getScalingInstructions() |
public CfnScalingPlanProps.Builder applicationSource(CfnScalingPlan.ApplicationSourceProperty applicationSource)
CfnScalingPlanProps.getApplicationSource()
applicationSource
- A CloudFormation stack or a set of tags. This parameter is required.
You can create one scaling plan per application source. The ApplicationSource
property must be present to ensure interoperability with the AWS Auto Scaling console.this
public CfnScalingPlanProps.Builder applicationSource(IResolvable applicationSource)
CfnScalingPlanProps.getApplicationSource()
applicationSource
- A CloudFormation stack or a set of tags. This parameter is required.
You can create one scaling plan per application source. The ApplicationSource
property must be present to ensure interoperability with the AWS Auto Scaling console.this
public CfnScalingPlanProps.Builder scalingInstructions(IResolvable scalingInstructions)
CfnScalingPlanProps.getScalingInstructions()
scalingInstructions
- The scaling instructions. This parameter is required.this
public CfnScalingPlanProps.Builder scalingInstructions(java.util.List<? extends java.lang.Object> scalingInstructions)
CfnScalingPlanProps.getScalingInstructions()
scalingInstructions
- The scaling instructions. This parameter is required.this
public CfnScalingPlanProps build()
CfnScalingPlanProps
java.lang.NullPointerException
- if any required attribute was not provided