@Stability(value=Stable) public static final class CfnParameterProps.Builder extends Object
CfnParameterProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnParameterProps.Builder |
allowedPattern(String allowedPattern)
Sets the value of AllowedPattern
|
CfnParameterProps.Builder |
allowedValues(List<String> allowedValues)
Sets the value of AllowedValues
|
CfnParameterProps |
build()
Builds the configured instance.
|
CfnParameterProps.Builder |
constraintDescription(String constraintDescription)
Sets the value of ConstraintDescription
|
CfnParameterProps.Builder |
defaultValue(Object defaultValue)
Sets the value of DefaultValue
|
CfnParameterProps.Builder |
description(String description)
Sets the value of Description
|
CfnParameterProps.Builder |
maxLength(Number maxLength)
Sets the value of MaxLength
|
CfnParameterProps.Builder |
maxValue(Number maxValue)
Sets the value of MaxValue
|
CfnParameterProps.Builder |
minLength(Number minLength)
Sets the value of MinLength
|
CfnParameterProps.Builder |
minValue(Number minValue)
Sets the value of MinValue
|
CfnParameterProps.Builder |
noEcho(Boolean noEcho)
Sets the value of NoEcho
|
CfnParameterProps.Builder |
type(String type)
Sets the value of Type
|
@Stability(value=Stable) public CfnParameterProps.Builder allowedPattern(String allowedPattern)
allowedPattern - A regular expression that represents the patterns to allow for String types.this@Stability(value=Stable) public CfnParameterProps.Builder allowedValues(List<String> allowedValues)
allowedValues - An array containing the list of values allowed for the parameter.this@Stability(value=Stable) public CfnParameterProps.Builder constraintDescription(String constraintDescription)
constraintDescription - A string that explains a constraint when the constraint is violated. For example, without a constraint description, a parameter that has an allowed pattern of [A-Za-z0-9]+ displays the following error message when the user specifies an invalid value:.this@Stability(value=Stable) public CfnParameterProps.Builder defaultValue(Object defaultValue)
defaultValue - A value of the appropriate type for the template to use if no value is specified when a stack is created.this@Stability(value=Stable) public CfnParameterProps.Builder description(String description)
description - A string of up to 4000 characters that describes the parameter.this@Stability(value=Stable) public CfnParameterProps.Builder maxLength(Number maxLength)
maxLength - An integer value that determines the largest number of characters you want to allow for String types.this@Stability(value=Stable) public CfnParameterProps.Builder maxValue(Number maxValue)
maxValue - A numeric value that determines the largest numeric value you want to allow for Number types.this@Stability(value=Stable) public CfnParameterProps.Builder minLength(Number minLength)
minLength - An integer value that determines the smallest number of characters you want to allow for String types.this@Stability(value=Stable) public CfnParameterProps.Builder minValue(Number minValue)
minValue - A numeric value that determines the smallest numeric value you want to allow for Number types.this@Stability(value=Stable) public CfnParameterProps.Builder noEcho(Boolean noEcho)
noEcho - Whether to mask the parameter value when anyone makes a call that describes the stack. If you set the value to ``true``, the parameter value is masked with asterisks (``*****``).this@Stability(value=Stable) public CfnParameterProps.Builder type(String type)
type - The data type for the parameter (DataType).this@Stability(value=Stable) public CfnParameterProps build()
CfnParameterPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.