public static interface ThreatDetectedByName.Builder extends SdkPojo, CopyableBuilder<ThreatDetectedByName.Builder,ThreatDetectedByName>
| Modifier and Type | Method and Description |
|---|---|
ThreatDetectedByName.Builder |
itemCount(Integer itemCount)
Total number of infected files identified.
|
ThreatDetectedByName.Builder |
shortened(Boolean shortened)
Flag to determine if the finding contains every single infected file-path and/or every threat.
|
ThreatDetectedByName.Builder |
threatNames(Collection<ScanThreatName> threatNames)
List of identified threats with details, organized by threat name.
|
ThreatDetectedByName.Builder |
threatNames(Consumer<ScanThreatName.Builder>... threatNames)
List of identified threats with details, organized by threat name.
|
ThreatDetectedByName.Builder |
threatNames(ScanThreatName... threatNames)
List of identified threats with details, organized by threat name.
|
ThreatDetectedByName.Builder |
uniqueThreatNameCount(Integer uniqueThreatNameCount)
Total number of unique threats by name identified, as part of the malware scan.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildThreatDetectedByName.Builder itemCount(Integer itemCount)
Total number of infected files identified.
itemCount - Total number of infected files identified.ThreatDetectedByName.Builder uniqueThreatNameCount(Integer uniqueThreatNameCount)
Total number of unique threats by name identified, as part of the malware scan.
uniqueThreatNameCount - Total number of unique threats by name identified, as part of the malware scan.ThreatDetectedByName.Builder shortened(Boolean shortened)
Flag to determine if the finding contains every single infected file-path and/or every threat.
shortened - Flag to determine if the finding contains every single infected file-path and/or every threat.ThreatDetectedByName.Builder threatNames(Collection<ScanThreatName> threatNames)
List of identified threats with details, organized by threat name.
threatNames - List of identified threats with details, organized by threat name.ThreatDetectedByName.Builder threatNames(ScanThreatName... threatNames)
List of identified threats with details, organized by threat name.
threatNames - List of identified threats with details, organized by threat name.ThreatDetectedByName.Builder threatNames(Consumer<ScanThreatName.Builder>... threatNames)
List of identified threats with details, organized by threat name.
This is a convenience method that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #threatNames(List) .threatNames - a consumer that will call methods on List.Builder #threatNames(List) Copyright © 2022. All rights reserved.