Class CfnScalingPlan.ApplicationSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScalingPlan.ApplicationSourceProperty>
- Enclosing interface:
CfnScalingPlan.ApplicationSourceProperty
CfnScalingPlan.ApplicationSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudFormationStackArn
(String cloudFormationStackArn) Sets the value ofCfnScalingPlan.ApplicationSourceProperty.getCloudFormationStackArn()
tagFilters
(List<? extends Object> tagFilters) Sets the value ofCfnScalingPlan.ApplicationSourceProperty.getTagFilters()
tagFilters
(IResolvable tagFilters) Sets the value ofCfnScalingPlan.ApplicationSourceProperty.getTagFilters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudFormationStackArn
@Stability(Stable) public CfnScalingPlan.ApplicationSourceProperty.Builder cloudFormationStackArn(String cloudFormationStackArn) Sets the value ofCfnScalingPlan.ApplicationSourceProperty.getCloudFormationStackArn()
- Parameters:
cloudFormationStackArn
- The Amazon Resource Name (ARN) of a CloudFormation stack. You must specify either aCloudFormationStackARN
orTagFilters
.- Returns:
this
-
tagFilters
@Stability(Stable) public CfnScalingPlan.ApplicationSourceProperty.Builder tagFilters(IResolvable tagFilters) Sets the value ofCfnScalingPlan.ApplicationSourceProperty.getTagFilters()
- Parameters:
tagFilters
- A set of tag filters (keys and values). Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.Tags are part of the syntax that you use to specify the resources you want returned when configuring a scaling plan from the AWS Auto Scaling console. You do not need to specify valid tag filter values when you create a scaling plan with CloudFormation. The
Key
andValues
properties can accept any value as long as the combination of values is unique across scaling plans. However, if you also want to use the AWS Auto Scaling console to edit the scaling plan, then you must specify valid values.You must specify either a
CloudFormationStackARN
orTagFilters
.- Returns:
this
-
tagFilters
@Stability(Stable) public CfnScalingPlan.ApplicationSourceProperty.Builder tagFilters(List<? extends Object> tagFilters) Sets the value ofCfnScalingPlan.ApplicationSourceProperty.getTagFilters()
- Parameters:
tagFilters
- A set of tag filters (keys and values). Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.Tags are part of the syntax that you use to specify the resources you want returned when configuring a scaling plan from the AWS Auto Scaling console. You do not need to specify valid tag filter values when you create a scaling plan with CloudFormation. The
Key
andValues
properties can accept any value as long as the combination of values is unique across scaling plans. However, if you also want to use the AWS Auto Scaling console to edit the scaling plan, then you must specify valid values.You must specify either a
CloudFormationStackARN
orTagFilters
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnScalingPlan.ApplicationSourceProperty>
- Returns:
- a new instance of
CfnScalingPlan.ApplicationSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-