Interface GetMalwareScanResultDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GetMalwareScanResultDetails.Builder,,GetMalwareScanResultDetails> SdkBuilder<GetMalwareScanResultDetails.Builder,,GetMalwareScanResultDetails> SdkPojo
- Enclosing class:
GetMalwareScanResultDetails
-
Method Summary
Modifier and TypeMethodDescriptionfailedFileCount(Long failedFileCount) The total number of files that failed to be scanned.scanResultStatus(String scanResultStatus) Status indicating whether threats were found for a completed scan.scanResultStatus(ScanResultStatus scanResultStatus) Status indicating whether threats were found for a completed scan.skippedFileCount(Long skippedFileCount) The total number of files that were skipped during the scan.threatFoundFileCount(Long threatFoundFileCount) The total number of files in which threats were detected.threats(Collection<ScanResultThreat> threats) The threats that were detected during the malware scan.threats(Consumer<ScanResultThreat.Builder>... threats) The threats that were detected during the malware scan.threats(ScanResultThreat... threats) The threats that were detected during the malware scan.totalBytes(Long totalBytes) The total number of bytes that were scanned.totalFileCount(Long totalFileCount) The total number of files that were processed during the scan.uniqueThreatCount(Long uniqueThreatCount) The total number of unique threats that were detected during the scan.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
scanResultStatus
Status indicating whether threats were found for a completed scan.
- Parameters:
scanResultStatus- Status indicating whether threats were found for a completed scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanResultStatus
Status indicating whether threats were found for a completed scan.
- Parameters:
scanResultStatus- Status indicating whether threats were found for a completed scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
skippedFileCount
The total number of files that were skipped during the scan.
- Parameters:
skippedFileCount- The total number of files that were skipped during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedFileCount
The total number of files that failed to be scanned.
- Parameters:
failedFileCount- The total number of files that failed to be scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatFoundFileCount
The total number of files in which threats were detected.
- Parameters:
threatFoundFileCount- The total number of files in which threats were detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalFileCount
The total number of files that were processed during the scan.
- Parameters:
totalFileCount- The total number of files that were processed during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalBytes
The total number of bytes that were scanned.
- Parameters:
totalBytes- The total number of bytes that were scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uniqueThreatCount
The total number of unique threats that were detected during the scan.
- Parameters:
uniqueThreatCount- The total number of unique threats that were detected during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threats
The threats that were detected during the malware scan.
- Parameters:
threats- The threats that were detected during the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threats
The threats that were detected during the malware scan.
- Parameters:
threats- The threats that were detected during the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threats
The threats that were detected during the malware scan.
This is a convenience method that creates an instance of theScanResultThreat.Builderavoiding the need to create one manually viaScanResultThreat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothreats(List<ScanResultThreat>).- Parameters:
threats- a consumer that will call methods onScanResultThreat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-