@Stability(value=Stable) public static final class CfnParameterProps.Builder extends Object
CfnParameterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnParameterProps.Builder allowedPattern(String allowedPattern)
CfnParameterProps.getAllowedPattern()allowedPattern - A regular expression that represents the patterns to allow for String types.this@Stability(value=Stable) public CfnParameterProps.Builder allowedValues(List<String> allowedValues)
CfnParameterProps.getAllowedValues()allowedValues - An array containing the list of values allowed for the parameter.this@Stability(value=Stable) public CfnParameterProps.Builder constraintDescription(String constraintDescription)
CfnParameterProps.getConstraintDescription()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)
CfnParameterProps.getDefaultValue()defaultValue - A value of the appropriate type for the template to use if no value is specified when a stack is created.
If you define constraints for the parameter, you must specify
a value that adheres to those constraints.this@Stability(value=Stable) public CfnParameterProps.Builder description(String description)
CfnParameterProps.getDescription()description - A string of up to 4000 characters that describes the parameter.this@Stability(value=Stable) public CfnParameterProps.Builder maxLength(Number maxLength)
CfnParameterProps.getMaxLength()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)
CfnParameterProps.getMaxValue()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)
CfnParameterProps.getMinLength()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)
CfnParameterProps.getMinValue()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)
CfnParameterProps.getNoEcho()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)
CfnParameterProps.getType()type - The data type for the parameter (DataType).this@Stability(value=Stable) public CfnParameterProps build()
CfnParameterPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.