Interface EnumConstraint.Builder

  • Method Details

    • allowed

      The values allowed.

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

      EnumConstraint.Builder allowed(String... allowed)

      The values allowed.

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