Interface ValidationError.Builder

  • Method Details

    • message

      ValidationError.Builder message(String message)

      The error message describing the validation issue.

      Parameters:
      message - The error message describing the validation issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reason

      The reason code or category for the validation error.

      Parameters:
      reason - The reason code or category for the validation error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldMap

      A mapping of field names to specific validation issues within the configuration.

      Parameters:
      fieldMap - A mapping of field names to specific validation issues within the configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.