Interface Threat.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Threat.Builder,
,Threat> SdkBuilder<Threat.Builder,
,Threat> SdkPojo
- Enclosing class:
Threat
-
Method Summary
Modifier and TypeMethodDescriptionitemPaths
(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
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
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.Builder
avoiding the need to create one manually viaItemPath.builder()
.When the
Consumer
completes,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:
-