Interface ValidationError.Builder

    • Method Detail

      • id

        ValidationError.Builder id​(String id)

        The identifier of the object that contains the validation error.

        Parameters:
        id - The identifier of the object that contains the validation error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        ValidationError.Builder errors​(Collection<String> errors)

        A description of the validation error.

        Parameters:
        errors - A description of the validation error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        ValidationError.Builder errors​(String... errors)

        A description of the validation error.

        Parameters:
        errors - A description of the validation error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.