Interface ScanDetections.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScanDetections.Builder,
,ScanDetections> SdkBuilder<ScanDetections.Builder,
,ScanDetections> SdkPojo
- Enclosing class:
ScanDetections
-
Method Summary
Modifier and TypeMethodDescriptiondefault ScanDetections.Builder
highestSeverityThreatDetails
(Consumer<HighestSeverityThreatDetails.Builder> highestSeverityThreatDetails) Details of the highest severity threat detected during malware scan and number of infected files.highestSeverityThreatDetails
(HighestSeverityThreatDetails highestSeverityThreatDetails) Details of the highest severity threat detected during malware scan and number of infected files.default ScanDetections.Builder
scannedItemCount
(Consumer<ScannedItemCount.Builder> scannedItemCount) Total number of scanned files.scannedItemCount
(ScannedItemCount scannedItemCount) Total number of scanned files.default ScanDetections.Builder
threatDetectedByName
(Consumer<ThreatDetectedByName.Builder> threatDetectedByName) Contains details about identified threats organized by threat name.threatDetectedByName
(ThreatDetectedByName threatDetectedByName) Contains details about identified threats organized by threat name.default ScanDetections.Builder
threatsDetectedItemCount
(Consumer<ThreatsDetectedItemCount.Builder> threatsDetectedItemCount) Total number of infected files.threatsDetectedItemCount
(ThreatsDetectedItemCount threatsDetectedItemCount) Total number of infected files.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
scannedItemCount
Total number of scanned files.
- Parameters:
scannedItemCount
- Total number of scanned files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scannedItemCount
default ScanDetections.Builder scannedItemCount(Consumer<ScannedItemCount.Builder> scannedItemCount) Total number of scanned files.
This is a convenience method that creates an instance of theScannedItemCount.Builder
avoiding the need to create one manually viaScannedItemCount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscannedItemCount(ScannedItemCount)
.- Parameters:
scannedItemCount
- a consumer that will call methods onScannedItemCount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
threatsDetectedItemCount
Total number of infected files.
- Parameters:
threatsDetectedItemCount
- Total number of infected files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatsDetectedItemCount
default ScanDetections.Builder threatsDetectedItemCount(Consumer<ThreatsDetectedItemCount.Builder> threatsDetectedItemCount) Total number of infected files.
This is a convenience method that creates an instance of theThreatsDetectedItemCount.Builder
avoiding the need to create one manually viaThreatsDetectedItemCount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothreatsDetectedItemCount(ThreatsDetectedItemCount)
.- Parameters:
threatsDetectedItemCount
- a consumer that will call methods onThreatsDetectedItemCount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
highestSeverityThreatDetails
ScanDetections.Builder highestSeverityThreatDetails(HighestSeverityThreatDetails highestSeverityThreatDetails) Details of the highest severity threat detected during malware scan and number of infected files.
- Parameters:
highestSeverityThreatDetails
- Details of the highest severity threat detected during malware scan and number of infected files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
highestSeverityThreatDetails
default ScanDetections.Builder highestSeverityThreatDetails(Consumer<HighestSeverityThreatDetails.Builder> highestSeverityThreatDetails) Details of the highest severity threat detected during malware scan and number of infected files.
This is a convenience method that creates an instance of theHighestSeverityThreatDetails.Builder
avoiding the need to create one manually viaHighestSeverityThreatDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohighestSeverityThreatDetails(HighestSeverityThreatDetails)
.- Parameters:
highestSeverityThreatDetails
- a consumer that will call methods onHighestSeverityThreatDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
threatDetectedByName
Contains details about identified threats organized by threat name.
- Parameters:
threatDetectedByName
- Contains details about identified threats organized by threat name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatDetectedByName
default ScanDetections.Builder threatDetectedByName(Consumer<ThreatDetectedByName.Builder> threatDetectedByName) Contains details about identified threats organized by threat name.
This is a convenience method that creates an instance of theThreatDetectedByName.Builder
avoiding the need to create one manually viaThreatDetectedByName.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothreatDetectedByName(ThreatDetectedByName)
.- Parameters:
threatDetectedByName
- a consumer that will call methods onThreatDetectedByName.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-