Interface ThreatDetectedByName.Builder

    • Method Detail

      • itemCount

        ThreatDetectedByName.Builder itemCount​(Integer itemCount)

        Total number of infected files identified.

        Parameters:
        itemCount - Total number of infected files identified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • uniqueThreatNameCount

        ThreatDetectedByName.Builder uniqueThreatNameCount​(Integer uniqueThreatNameCount)

        Total number of unique threats by name identified, as part of the malware scan.

        Parameters:
        uniqueThreatNameCount - Total number of unique threats by name identified, as part of the malware scan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shortened

        ThreatDetectedByName.Builder shortened​(Boolean shortened)

        Flag to determine if the finding contains every single infected file-path and/or every threat.

        Parameters:
        shortened - Flag to determine if the finding contains every single infected file-path and/or every threat.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • threatNames

        ThreatDetectedByName.Builder threatNames​(Collection<ScanThreatName> threatNames)

        List of identified threats with details, organized by threat name.

        Parameters:
        threatNames - List of identified threats with details, organized by threat name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • threatNames

        ThreatDetectedByName.Builder threatNames​(ScanThreatName... threatNames)

        List of identified threats with details, organized by threat name.

        Parameters:
        threatNames - List of identified threats with details, organized by threat name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.