Interface ScanThreatName.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScanThreatName.Builder,
,ScanThreatName> SdkBuilder<ScanThreatName.Builder,
,ScanThreatName> SdkPojo
- Enclosing class:
ScanThreatName
public static interface ScanThreatName.Builder
extends SdkPojo, CopyableBuilder<ScanThreatName.Builder,ScanThreatName>
-
Method Summary
Modifier and TypeMethodDescriptionfilePaths
(Collection<ScanFilePath> filePaths) List of infected files in EBS volume with details.filePaths
(Consumer<ScanFilePath.Builder>... filePaths) List of infected files in EBS volume with details.filePaths
(ScanFilePath... filePaths) List of infected files in EBS volume with details.Total number of files infected with given threat.The name of the identified threat.Severity of threat 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
-
name
The name of the identified threat.
- Parameters:
name
- The name of the identified threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
Severity of threat identified as part of the malware scan.
- Parameters:
severity
- Severity of threat identified as part of the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemCount
Total number of files infected with given threat.
- Parameters:
itemCount
- Total number of files infected with given threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePaths
List of infected files in EBS volume with details.
- Parameters:
filePaths
- List of infected files in EBS volume with details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePaths
List of infected files in EBS volume with details.
- Parameters:
filePaths
- List of infected files in EBS volume with details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePaths
List of infected files in EBS volume with details.
This is a convenience method that creates an instance of theScanFilePath.Builder
avoiding the need to create one manually viaScanFilePath.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilePaths(List<ScanFilePath>)
.- Parameters:
filePaths
- a consumer that will call methods onScanFilePath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-