public static interface ScanThreatName.Builder extends SdkPojo, CopyableBuilder<ScanThreatName.Builder,ScanThreatName>
| Modifier and Type | Method and Description |
|---|---|
ScanThreatName.Builder |
filePaths(Collection<ScanFilePath> filePaths)
List of infected files in EBS volume with details.
|
ScanThreatName.Builder |
filePaths(Consumer<ScanFilePath.Builder>... filePaths)
List of infected files in EBS volume with details.
|
ScanThreatName.Builder |
filePaths(ScanFilePath... filePaths)
List of infected files in EBS volume with details.
|
ScanThreatName.Builder |
itemCount(Integer itemCount)
Total number of files infected with given threat.
|
ScanThreatName.Builder |
name(String name)
The name of the identified threat.
|
ScanThreatName.Builder |
severity(String severity)
Severity of threat identified as part of the malware scan.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildScanThreatName.Builder name(String name)
The name of the identified threat.
name - The name of the identified threat.ScanThreatName.Builder severity(String severity)
Severity of threat identified as part of the malware scan.
severity - Severity of threat identified as part of the malware scan.ScanThreatName.Builder itemCount(Integer itemCount)
Total number of files infected with given threat.
itemCount - Total number of files infected with given threat.ScanThreatName.Builder filePaths(Collection<ScanFilePath> filePaths)
List of infected files in EBS volume with details.
filePaths - List of infected files in EBS volume with details.ScanThreatName.Builder filePaths(ScanFilePath... filePaths)
List of infected files in EBS volume with details.
filePaths - List of infected files in EBS volume with details.ScanThreatName.Builder filePaths(Consumer<ScanFilePath.Builder>... filePaths)
List of infected files in EBS volume with details.
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 #filePaths(List) .filePaths - a consumer that will call methods on List.Builder #filePaths(List) Copyright © 2022. All rights reserved.