@Stability(value=Stable) public static final class ParameterOptions.Builder extends Object implements software.amazon.jsii.Builder<ParameterOptions>
ParameterOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ParameterOptions.Builder |
allowedPattern(String allowedPattern)
Sets the value of
ParameterOptions.getAllowedPattern() |
ParameterOptions |
build()
Builds the configured instance.
|
ParameterOptions.Builder |
description(String description)
Sets the value of
ParameterOptions.getDescription() |
ParameterOptions.Builder |
parameterName(String parameterName)
Sets the value of
ParameterOptions.getParameterName() |
ParameterOptions.Builder |
simpleName(Boolean simpleName)
Sets the value of
ParameterOptions.getSimpleName() |
ParameterOptions.Builder |
tier(ParameterTier tier)
Sets the value of
ParameterOptions.getTier() |
@Stability(value=Stable) public ParameterOptions.Builder allowedPattern(String allowedPattern)
ParameterOptions.getAllowedPattern()allowedPattern - A regular expression used to validate the parameter value.
For example, for String types with values restricted to
numbers, you can specify the following: ^\d+$this@Stability(value=Stable) public ParameterOptions.Builder description(String description)
ParameterOptions.getDescription()description - Information about the parameter that you want to add to the system.this@Stability(value=Stable) public ParameterOptions.Builder parameterName(String parameterName)
ParameterOptions.getParameterName()parameterName - The name of the parameter.this@Stability(value=Stable) public ParameterOptions.Builder simpleName(Boolean simpleName)
ParameterOptions.getSimpleName()simpleName - Indicates of the parameter name is a simple name (i.e. does not include "/" separators).
This is only required only if parameterName is a token, which means we
are unable to detect if the name is simple or "path-like" for the purpose
of rendering SSM parameter ARNs.
If parameterName is not specified, simpleName must be true (or
undefined) since the name generated by AWS CloudFormation is always a
simple name.
this@Stability(value=Stable) public ParameterOptions.Builder tier(ParameterTier tier)
ParameterOptions.getTier()tier - The tier of the string parameter.this@Stability(value=Stable) public ParameterOptions build()
build in interface software.amazon.jsii.Builder<ParameterOptions>ParameterOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.