Class CfnDeployment.TagsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnDeployment.TagsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment.TagsProperty>
- Enclosing interface:
CfnDeployment.TagsProperty
@Stability(Stable)
public static final class CfnDeployment.TagsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeployment.TagsProperty>
A builder for
CfnDeployment.TagsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDeployment.TagsProperty.getKey()
Sets the value ofCfnDeployment.TagsProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnDeployment.TagsProperty.getKey()
- Parameters:
key
- The key-value string map. The valid character set is[a-zA-Z+-=._:/]
. The tag key can be up to 128 characters and must not start withaws:
.- Returns:
this
-
value
Sets the value ofCfnDeployment.TagsProperty.getValue()
- Parameters:
value
- The tag value can be up to 256 characters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeployment.TagsProperty>
- Returns:
- a new instance of
CfnDeployment.TagsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-