public static final class CfnUserPool.StringAttributeConstraintsProperty.Builder
extends java.lang.Object
CfnUserPool.StringAttributeConstraintsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnUserPool.StringAttributeConstraintsProperty |
build()
Builds the configured instance.
|
CfnUserPool.StringAttributeConstraintsProperty.Builder |
maxLength(java.lang.String maxLength)
Sets the value of
CfnUserPool.StringAttributeConstraintsProperty.getMaxLength() |
CfnUserPool.StringAttributeConstraintsProperty.Builder |
minLength(java.lang.String minLength)
Sets the value of
CfnUserPool.StringAttributeConstraintsProperty.getMinLength() |
public CfnUserPool.StringAttributeConstraintsProperty.Builder maxLength(java.lang.String maxLength)
CfnUserPool.StringAttributeConstraintsProperty.getMaxLength()
maxLength
- The maximum length.this
public CfnUserPool.StringAttributeConstraintsProperty.Builder minLength(java.lang.String minLength)
CfnUserPool.StringAttributeConstraintsProperty.getMinLength()
minLength
- The minimum length.this
public CfnUserPool.StringAttributeConstraintsProperty build()
CfnUserPool.StringAttributeConstraintsProperty
java.lang.NullPointerException
- if any required attribute was not provided