@Stability(value=Experimental) public static final class StringParameterProps.Builder extends Object implements software.amazon.jsii.Builder<StringParameterProps>
StringParameterProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StringParameterProps.Builder |
allowedPattern(String allowedPattern)
Sets the value of
ParameterOptions.getAllowedPattern() |
StringParameterProps |
build()
Builds the configured instance.
|
StringParameterProps.Builder |
description(String description)
Sets the value of
ParameterOptions.getDescription() |
StringParameterProps.Builder |
parameterName(String parameterName)
Sets the value of
ParameterOptions.getParameterName() |
StringParameterProps.Builder |
simpleName(Boolean simpleName)
Sets the value of
ParameterOptions.getSimpleName() |
StringParameterProps.Builder |
stringValue(String stringValue)
Sets the value of
StringParameterProps.getStringValue() |
StringParameterProps.Builder |
tier(ParameterTier tier)
Sets the value of
ParameterOptions.getTier() |
StringParameterProps.Builder |
type(ParameterType type)
Sets the value of
StringParameterProps.getType() |
@Stability(value=Experimental) public StringParameterProps.Builder stringValue(String stringValue)
StringParameterProps.getStringValue()stringValue - The value of the parameter. This parameter is required.
It may not reference another parameter and {{}} cannot be used in the value.this@Stability(value=Experimental) public StringParameterProps.Builder type(ParameterType type)
StringParameterProps.getType()type - The type of the string parameter.this@Stability(value=Experimental) public StringParameterProps.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=Experimental) public StringParameterProps.Builder description(String description)
ParameterOptions.getDescription()description - Information about the parameter that you want to add to the system.this@Stability(value=Experimental) public StringParameterProps.Builder parameterName(String parameterName)
ParameterOptions.getParameterName()parameterName - The name of the parameter.this@Stability(value=Experimental) public StringParameterProps.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=Experimental) public StringParameterProps.Builder tier(ParameterTier tier)
ParameterOptions.getTier()tier - The tier of the string parameter.this@Stability(value=Experimental) public StringParameterProps build()
build in interface software.amazon.jsii.Builder<StringParameterProps>StringParameterPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.