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
Modifier and TypeMethodDescriptionThe maximum number of characters for the text field.The minimum number of characters for the text field.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 Details
-
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
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
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.
-