Interface AllowedValuesConstraint.Builder

  • Method Details

    • allowedValues

      AllowedValuesConstraint.Builder allowedValues(Collection<String> allowedValues)

      The list of allowed values.

      Parameters:
      allowedValues - The list of allowed values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedValues

      AllowedValuesConstraint.Builder allowedValues(String... allowedValues)

      The list of allowed values.

      Parameters:
      allowedValues - The list of allowed values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.