Class CfnDBProxy.TagFormatProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBProxy.TagFormatProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBProxy.TagFormatProperty>
- Enclosing interface:
CfnDBProxy.TagFormatProperty
@Stability(Stable)
public static final class CfnDBProxy.TagFormatProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBProxy.TagFormatProperty>
A builder for
CfnDBProxy.TagFormatProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDBProxy.TagFormatProperty.getKey()
Sets the value ofCfnDBProxy.TagFormatProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnDBProxy.TagFormatProperty.getKey()
- Parameters:
key
- A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed withaws:
. The string can contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}.:/=+-]*)$").- Returns:
this
-
value
Sets the value ofCfnDBProxy.TagFormatProperty.getValue()
- Parameters:
value
- A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed withaws:
. The string can contain only the set of Unicode letters, digits, white-space, '', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}.:/=+-]*)$").- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBProxy.TagFormatProperty>
- Returns:
- a new instance of
CfnDBProxy.TagFormatProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-