Interface Threat.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Threat.Builder,Threat>,SdkBuilder<Threat.Builder,Threat>,SdkPojo
- Enclosing class:
- Threat
public static interface Threat.Builder extends SdkPojo, CopyableBuilder<Threat.Builder,Threat>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Threat.BuilderitemPaths(Collection<ItemPath> itemPaths)Information about the nested item path and hash of the protected resource.Threat.BuilderitemPaths(Consumer<ItemPath.Builder>... itemPaths)Information about the nested item path and hash of the protected resource.Threat.BuilderitemPaths(ItemPath... itemPaths)Information about the nested item path and hash of the protected resource.Threat.Buildername(String name)Name of the detected threat that caused GuardDuty to generate this finding.Threat.Buildersource(String source)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 Detail
-
name
Threat.Builder name(String 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
Threat.Builder source(String 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
Threat.Builder itemPaths(Collection<ItemPath> 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
Threat.Builder itemPaths(ItemPath... 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
Threat.Builder itemPaths(Consumer<ItemPath.Builder>... 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 to#itemPaths(List.) - 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:
#itemPaths(java.util.Collection)
-
-