Interface RuleResult.Builder

  • Method Details

    • id

      The unique identifier of the rule result.

      Parameters:
      id - The unique identifier of the rule result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      RuleResult.Builder description(String description)

      A description of what the rule validates.

      Parameters:
      description - A description of what the rule validates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      RuleResult.Builder status(String status)

      The status of the rule result.

      Parameters:
      status - The status of the rule result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the rule result.

      Parameters:
      status - The status of the rule result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      RuleResult.Builder message(String message)

      A message providing details about the rule result.

      Parameters:
      message - A message providing details about the rule result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      RuleResult.Builder metadata(Map<String,String> metadata)

      Additional metadata associated with the rule result.

      Parameters:
      metadata - Additional metadata associated with the rule result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.