Class CfnScalingPlan.TagFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.autoscalingplans.CfnScalingPlan.TagFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScalingPlan.TagFilterProperty>
- Enclosing interface:
CfnScalingPlan.TagFilterProperty
@Stability(Stable)
public static final class CfnScalingPlan.TagFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScalingPlan.TagFilterProperty>
A builder for
CfnScalingPlan.TagFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnScalingPlan.TagFilterProperty.getKey()Sets the value ofCfnScalingPlan.TagFilterProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnScalingPlan.TagFilterProperty.getKey()- Parameters:
key- The tag key. This parameter is required.- Returns:
this
-
values
Sets the value ofCfnScalingPlan.TagFilterProperty.getValues()- Parameters:
values- The tag values (0 to 20).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScalingPlan.TagFilterProperty>- Returns:
- a new instance of
CfnScalingPlan.TagFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-