Interface TextValidation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TextValidation.Builder,TextValidation>,SdkBuilder<TextValidation.Builder,TextValidation>,SdkPojo
- Enclosing class:
- TextValidation
public static interface TextValidation.Builder extends SdkPojo, CopyableBuilder<TextValidation.Builder,TextValidation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextValidation.BuildermaxLength(Integer maxLength)The maximum number of characters for the text field.TextValidation.BuilderminLength(Integer minLength)The minimum number of characters for the text field.TextValidation.Builderpattern(String pattern)The regular expression used to validate the text field.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
minLength
TextValidation.Builder minLength(Integer minLength)
The minimum number of characters for the text field.
- Parameters:
minLength- The minimum number of characters for the text field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxLength
TextValidation.Builder maxLength(Integer maxLength)
The maximum number of characters for the text field.
- Parameters:
maxLength- The maximum number of characters for the text field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pattern
TextValidation.Builder pattern(String pattern)
The regular expression used to validate the text field.
- Parameters:
pattern- The regular expression used to validate the text field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-