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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScanThreatName.BuilderfilePaths(Collection<ScanFilePath> filePaths)List of infected files in EBS volume with details.ScanThreatName.BuilderfilePaths(Consumer<ScanFilePath.Builder>... filePaths)List of infected files in EBS volume with details.ScanThreatName.BuilderfilePaths(ScanFilePath... filePaths)List of infected files in EBS volume with details.ScanThreatName.BuilderitemCount(Integer itemCount)Total number of files infected with given threat.ScanThreatName.Buildername(String name)The name of the identified threat.ScanThreatName.Builderseverity(String severity)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 Detail
-
name
ScanThreatName.Builder name(String 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
ScanThreatName.Builder severity(String 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
ScanThreatName.Builder itemCount(Integer 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
ScanThreatName.Builder filePaths(Collection<ScanFilePath> 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
ScanThreatName.Builder filePaths(ScanFilePath... 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
ScanThreatName.Builder filePaths(Consumer<ScanFilePath.Builder>... filePaths)
List of infected files in EBS volume with details.
This is a convenience method that creates an instance of theScanFilePath.Builderavoiding the need to create one manually viaScanFilePath.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filePaths(List.) - 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:
#filePaths(java.util.Collection)
-
-