Class CfnUserPool.NumberAttributeConstraintsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPool.NumberAttributeConstraintsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPool.NumberAttributeConstraintsProperty>
- Enclosing interface:
CfnUserPool.NumberAttributeConstraintsProperty
@Stability(Stable)
public static final class CfnUserPool.NumberAttributeConstraintsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPool.NumberAttributeConstraintsProperty>
A builder for
CfnUserPool.NumberAttributeConstraintsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnUserPool.NumberAttributeConstraintsProperty.getMaxValue()
Sets the value ofCfnUserPool.NumberAttributeConstraintsProperty.getMinValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxValue
@Stability(Stable) public CfnUserPool.NumberAttributeConstraintsProperty.Builder maxValue(String maxValue) Sets the value ofCfnUserPool.NumberAttributeConstraintsProperty.getMaxValue()
- Parameters:
maxValue
- The maximum length of a number attribute value. Must be a number less than or equal to2^1023
, represented as a string with a length of 131072 characters or fewer.- Returns:
this
-
minValue
@Stability(Stable) public CfnUserPool.NumberAttributeConstraintsProperty.Builder minValue(String minValue) Sets the value ofCfnUserPool.NumberAttributeConstraintsProperty.getMinValue()
- Parameters:
minValue
- The minimum value of an attribute that is of the number data type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPool.NumberAttributeConstraintsProperty>
- Returns:
- a new instance of
CfnUserPool.NumberAttributeConstraintsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-