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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThreatDetectedByName.BuilderitemCount(Integer itemCount)Total number of infected files identified.ThreatDetectedByName.Buildershortened(Boolean shortened)Flag to determine if the finding contains every single infected file-path and/or every threat.ThreatDetectedByName.BuilderthreatNames(Collection<ScanThreatName> threatNames)List of identified threats with details, organized by threat name.ThreatDetectedByName.BuilderthreatNames(Consumer<ScanThreatName.Builder>... threatNames)List of identified threats with details, organized by threat name.ThreatDetectedByName.BuilderthreatNames(ScanThreatName... threatNames)List of identified threats with details, organized by threat name.ThreatDetectedByName.BuilderuniqueThreatNameCount(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 Detail
-
itemCount
ThreatDetectedByName.Builder itemCount(Integer 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
ThreatDetectedByName.Builder uniqueThreatNameCount(Integer 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
ThreatDetectedByName.Builder shortened(Boolean 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
ThreatDetectedByName.Builder threatNames(Collection<ScanThreatName> 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
ThreatDetectedByName.Builder threatNames(ScanThreatName... 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
ThreatDetectedByName.Builder threatNames(Consumer<ScanThreatName.Builder>... threatNames)
List of identified threats with details, organized by threat name.
This is a convenience method that creates an instance of theScanThreatName.Builderavoiding the need to create one manually viaScanThreatName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#threatNames(List.) - 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:
#threatNames(java.util.Collection)
-
-