Interface StringValidation.Builder

  • Method Details

    • allowedValues

      StringValidation.Builder allowedValues(Collection<String> allowedValues)

      Allowed values for this STRING field.

      Parameters:
      allowedValues - Allowed values for this STRING field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedValues

      StringValidation.Builder allowedValues(String... allowedValues)

      Allowed values for this STRING field.

      Parameters:
      allowedValues - Allowed values for this STRING field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.