Interface ScanResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScanResult.Builder,,ScanResult> SdkBuilder<ScanResult.Builder,,ScanResult> SdkPojo
- Enclosing class:
ScanResult
-
Method Summary
Modifier and TypeMethodDescriptionfindings(Collection<ScanFinding> findings) An array of findings discovered during the scan.findings(ScanFinding... findings) An array of findings discovered during the scan.findingsWithStrings(String... findings) An array of findings discovered during the scan.findingsWithStrings(Collection<String> findings) An array of findings discovered during the scan.lastScanTimestamp(Instant lastScanTimestamp) The timestamp of when the last scan was performed, in Unix format and Coordinated Universal Time (UTC).malwareScanner(String malwareScanner) The malware scanner used to perform the scan.malwareScanner(MalwareScanner malwareScanner) The malware scanner used to perform the scan.scanJobState(String scanJobState) The final state of the scan job.scanJobState(ScanJobState scanJobState) The final state of the scan job.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
-
malwareScanner
The malware scanner used to perform the scan. Currently only
GUARDDUTYis supported.- Parameters:
malwareScanner- The malware scanner used to perform the scan. Currently onlyGUARDDUTYis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
malwareScanner
The malware scanner used to perform the scan. Currently only
GUARDDUTYis supported.- Parameters:
malwareScanner- The malware scanner used to perform the scan. Currently onlyGUARDDUTYis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanJobState
The final state of the scan job.
Valid values:
COMPLETED|FAILED|CANCELED.- Parameters:
scanJobState- The final state of the scan job.Valid values:
COMPLETED|FAILED|CANCELED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanJobState
The final state of the scan job.
Valid values:
COMPLETED|FAILED|CANCELED.- Parameters:
scanJobState- The final state of the scan job.Valid values:
COMPLETED|FAILED|CANCELED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastScanTimestamp
The timestamp of when the last scan was performed, in Unix format and Coordinated Universal Time (UTC).
- Parameters:
lastScanTimestamp- The timestamp of when the last scan was performed, in Unix format and Coordinated Universal Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsWithStrings
An array of findings discovered during the scan.
- Parameters:
findings- An array of findings discovered during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsWithStrings
An array of findings discovered during the scan.
- Parameters:
findings- An array of findings discovered during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
An array of findings discovered during the scan.
- Parameters:
findings- An array of findings discovered during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
An array of findings discovered during the scan.
- Parameters:
findings- An array of findings discovered during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-