Interface Threat.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Threat.Builder,,Threat> SdkBuilder<Threat.Builder,,Threat> SdkPojo
- Enclosing class:
Threat
-
Method Summary
Modifier and TypeMethodDescriptionThe number of occurrences of this specific threat detected during the scan.The hash identifier of the detected malware threat.itemDetails(Collection<ItemDetails> itemDetails) Detailed information about the detected malware threat.itemDetails(Consumer<ItemDetails.Builder>... itemDetails) Detailed information about the detected malware threat.itemDetails(ItemDetails... itemDetails) Detailed information about the detected malware threat.itemPaths(Collection<ItemPath> itemPaths) Information about the nested item path and hash of the protected resource.itemPaths(Consumer<ItemPath.Builder>... itemPaths) Information about the nested item path and hash of the protected resource.Information about the nested item path and hash of the protected resource.Name of the detected threat that caused GuardDuty to generate this finding.Source of the threat that generated this finding.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
-
name
Name of the detected threat that caused GuardDuty to generate this finding.
- Parameters:
name- Name of the detected threat that caused GuardDuty to generate this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Source of the threat that generated this finding.
- Parameters:
source- Source of the threat that generated this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemPaths
Information about the nested item path and hash of the protected resource.
- Parameters:
itemPaths- Information about the nested item path and hash of the protected resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemPaths
Information about the nested item path and hash of the protected resource.
- Parameters:
itemPaths- Information about the nested item path and hash of the protected resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemPaths
Information about the nested item path and hash of the protected resource.
This is a convenience method that creates an instance of theItemPath.Builderavoiding the need to create one manually viaItemPath.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitemPaths(List<ItemPath>).- Parameters:
itemPaths- a consumer that will call methods onItemPath.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
count
The number of occurrences of this specific threat detected during the scan.
- Parameters:
count- The number of occurrences of this specific threat detected during the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hash
The hash identifier of the detected malware threat.
- Parameters:
hash- The hash identifier of the detected malware threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemDetails
Detailed information about the detected malware threat.
- Parameters:
itemDetails- Detailed information about the detected malware threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemDetails
Detailed information about the detected malware threat.
- Parameters:
itemDetails- Detailed information about the detected malware threat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemDetails
Detailed information about the detected malware threat.
This is a convenience method that creates an instance of theItemDetails.Builderavoiding the need to create one manually viaItemDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitemDetails(List<ItemDetails>).- Parameters:
itemDetails- a consumer that will call methods onItemDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-