Interface SessionFinding.Builder

  • Method Details

    • targetId

      SessionFinding.Builder targetId(String targetId)

      The identifier or name of the location in the session where the failure was found, interpreted according to targetType.

      Parameters:
      targetId - The identifier or name of the location in the session where the failure was found, interpreted according to targetType.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetType

      SessionFinding.Builder targetType(String targetType)

      The type of location that targetId refers to.

      Parameters:
      targetType - The type of location that targetId refers to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetType

      SessionFinding.Builder targetType(FindingTargetType targetType)

      The type of location that targetId refers to.

      Parameters:
      targetType - The type of location that targetId refers to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      SessionFinding.Builder description(String description)

      A description of the failure.

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

      SessionFinding.Builder category(String category)

      The category of the failure.

      Parameters:
      category - The category of the failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • confidence

      SessionFinding.Builder confidence(Double confidence)

      The confidence that the finding is a failure, from 0 to 1.

      Parameters:
      confidence - The confidence that the finding is a failure, from 0 to 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.