@Stability(value=Stable) public static final class CfnParameterProps.Builder extends Object
CfnParameterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnParameterProps.Builder withAllowedPattern(@Nullable String value)
value - A regular expression that represents the patterns to allow for String types.this@Stability(value=Stable) public CfnParameterProps.Builder withAllowedValues(@Nullable List<String> value)
value - An array containing the list of values allowed for the parameter.this@Stability(value=Stable) public CfnParameterProps.Builder withConstraintDescription(@Nullable String value)
value - 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 withDefault(@Nullable Object value)
value - 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 withDescription(@Nullable String value)
value - A string of up to 4000 characters that describes the parameter.this@Stability(value=Stable) public CfnParameterProps.Builder withMaxLength(@Nullable Number value)
value - An integer value that determines the largest number of characters you want to allow for String types.this@Stability(value=Stable) public CfnParameterProps.Builder withMaxValue(@Nullable Number value)
value - A numeric value that determines the largest numeric value you want to allow for Number types.this@Stability(value=Stable) public CfnParameterProps.Builder withMinLength(@Nullable Number value)
value - An integer value that determines the smallest number of characters you want to allow for String types.this@Stability(value=Stable) public CfnParameterProps.Builder withMinValue(@Nullable Number value)
value - A numeric value that determines the smallest numeric value you want to allow for Number types.this@Stability(value=Stable) public CfnParameterProps.Builder withNoEcho(@Nullable Boolean value)
value - 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 withType(@Nullable String value)
value - 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.