Interface ScanDetections.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ScanDetections.Builder,ScanDetections>,SdkBuilder<ScanDetections.Builder,ScanDetections>,SdkPojo
- Enclosing class:
- ScanDetections
public static interface ScanDetections.Builder extends SdkPojo, CopyableBuilder<ScanDetections.Builder,ScanDetections>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ScanDetections.BuilderhighestSeverityThreatDetails(Consumer<HighestSeverityThreatDetails.Builder> highestSeverityThreatDetails)Details of the highest severity threat detected during malware scan and number of infected files.ScanDetections.BuilderhighestSeverityThreatDetails(HighestSeverityThreatDetails highestSeverityThreatDetails)Details of the highest severity threat detected during malware scan and number of infected files.default ScanDetections.BuilderscannedItemCount(Consumer<ScannedItemCount.Builder> scannedItemCount)Total number of scanned files.ScanDetections.BuilderscannedItemCount(ScannedItemCount scannedItemCount)Total number of scanned files.default ScanDetections.BuilderthreatDetectedByName(Consumer<ThreatDetectedByName.Builder> threatDetectedByName)Contains details about identified threats organized by threat name.ScanDetections.BuilderthreatDetectedByName(ThreatDetectedByName threatDetectedByName)Contains details about identified threats organized by threat name.default ScanDetections.BuilderthreatsDetectedItemCount(Consumer<ThreatsDetectedItemCount.Builder> threatsDetectedItemCount)Total number of infected files.ScanDetections.BuilderthreatsDetectedItemCount(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 Detail
-
scannedItemCount
ScanDetections.Builder scannedItemCount(ScannedItemCount 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.Builderavoiding the need to create one manually viaScannedItemCount.builder().When the
Consumercompletes,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:
scannedItemCount(ScannedItemCount)
-
threatsDetectedItemCount
ScanDetections.Builder threatsDetectedItemCount(ThreatsDetectedItemCount 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.Builderavoiding the need to create one manually viaThreatsDetectedItemCount.builder().When the
Consumercompletes,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:
threatsDetectedItemCount(ThreatsDetectedItemCount)
-
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.Builderavoiding the need to create one manually viaHighestSeverityThreatDetails.builder().When the
Consumercompletes,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:
highestSeverityThreatDetails(HighestSeverityThreatDetails)
-
threatDetectedByName
ScanDetections.Builder threatDetectedByName(ThreatDetectedByName 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.Builderavoiding the need to create one manually viaThreatDetectedByName.builder().When the
Consumercompletes,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:
threatDetectedByName(ThreatDetectedByName)
-
-