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 Details

    • 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.