Interface MalwareScanDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MalwareScanDetails.Builder,,MalwareScanDetails> SdkBuilder<MalwareScanDetails.Builder,,MalwareScanDetails> SdkPojo
- Enclosing class:
MalwareScanDetails
-
Method Summary
Modifier and TypeMethodDescriptionscanCategory(String scanCategory) The category of the malware scan.scanCategory(ScanCategory scanCategory) The category of the malware scan.default MalwareScanDetails.BuilderscanConfiguration(Consumer<MalwareProtectionFindingsScanConfiguration.Builder> scanConfiguration) The configuration settings used for the malware scan.scanConfiguration(MalwareProtectionFindingsScanConfiguration scanConfiguration) The configuration settings used for the malware scan.The unique identifier for the malware scan.The type of malware scan performed.scanType(MalwareProtectionScanType scanType) The type of malware scan performed.threats(Collection<Threat> threats) Information about the detected threats associated with the generated GuardDuty finding.threats(Consumer<Threat.Builder>... threats) Information about the detected threats associated with the generated GuardDuty finding.Information about the detected threats associated with the generated GuardDuty finding.uniqueThreatCount(Integer uniqueThreatCount) The number of unique malware threats detected during the scan.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
threats
Information about the detected threats associated with the generated GuardDuty finding.
- Parameters:
threats- Information about the detected threats associated with the generated GuardDuty finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threats
Information about the detected threats associated with the generated GuardDuty finding.
- Parameters:
threats- Information about the detected threats associated with the generated GuardDuty finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threats
Information about the detected threats associated with the generated GuardDuty finding.
This is a convenience method that creates an instance of theThreat.Builderavoiding the need to create one manually viaThreat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothreats(List<Threat>).- Parameters:
threats- a consumer that will call methods onThreat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanId
The unique identifier for the malware scan.
- Parameters:
scanId- The unique identifier for the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanType
The type of malware scan performed.
- Parameters:
scanType- The type of malware scan performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanType
The type of malware scan performed.
- Parameters:
scanType- The type of malware scan performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanCategory
The category of the malware scan.
- Parameters:
scanCategory- The category of the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanCategory
The category of the malware scan.
- Parameters:
scanCategory- The category of the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanConfiguration
MalwareScanDetails.Builder scanConfiguration(MalwareProtectionFindingsScanConfiguration scanConfiguration) The configuration settings used for the malware scan.
- Parameters:
scanConfiguration- The configuration settings used for the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanConfiguration
default MalwareScanDetails.Builder scanConfiguration(Consumer<MalwareProtectionFindingsScanConfiguration.Builder> scanConfiguration) The configuration settings used for the malware scan.
This is a convenience method that creates an instance of theMalwareProtectionFindingsScanConfiguration.Builderavoiding the need to create one manually viaMalwareProtectionFindingsScanConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanConfiguration(MalwareProtectionFindingsScanConfiguration).- Parameters:
scanConfiguration- a consumer that will call methods onMalwareProtectionFindingsScanConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uniqueThreatCount
The number of unique malware threats detected during the scan.
- Parameters:
uniqueThreatCount- The number of unique malware threats detected during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-