Interface ThreatDetectedByName.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ThreatDetectedByName.Builder,
,ThreatDetectedByName> SdkBuilder<ThreatDetectedByName.Builder,
,ThreatDetectedByName> SdkPojo
- Enclosing class:
ThreatDetectedByName
public static interface ThreatDetectedByName.Builder
extends SdkPojo, CopyableBuilder<ThreatDetectedByName.Builder,ThreatDetectedByName>
-
Method Summary
Modifier and TypeMethodDescriptionTotal number of infected files identified.Flag to determine if the finding contains every single infected file-path and/or every threat.threatNames
(Collection<ScanThreatName> threatNames) List of identified threats with details, organized by threat name.threatNames
(Consumer<ScanThreatName.Builder>... threatNames) List of identified threats with details, organized by threat name.threatNames
(ScanThreatName... threatNames) List of identified threats with details, organized by threat name.uniqueThreatNameCount
(Integer uniqueThreatNameCount) Total number of unique threats by name identified, as part of the malware scan.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
-
itemCount
Total number of infected files identified.
- Parameters:
itemCount
- Total number of infected files identified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uniqueThreatNameCount
Total number of unique threats by name identified, as part of the malware scan.
- Parameters:
uniqueThreatNameCount
- Total number of unique threats by name identified, as part of the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shortened
Flag to determine if the finding contains every single infected file-path and/or every threat.
- Parameters:
shortened
- Flag to determine if the finding contains every single infected file-path and/or every threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatNames
List of identified threats with details, organized by threat name.
- Parameters:
threatNames
- List of identified threats with details, organized by threat name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatNames
List of identified threats with details, organized by threat name.
- Parameters:
threatNames
- List of identified threats with details, organized by threat name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatNames
List of identified threats with details, organized by threat name.
This is a convenience method that creates an instance of theScanThreatName.Builder
avoiding the need to create one manually viaScanThreatName.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothreatNames(List<ScanThreatName>)
.- Parameters:
threatNames
- a consumer that will call methods onScanThreatName.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-