Interface ItemDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ItemDetails.Builder,,ItemDetails> SdkBuilder<ItemDetails.Builder,,ItemDetails> SdkPojo
- Enclosing class:
ItemDetails
@Mutable
@NotThreadSafe
public static interface ItemDetails.Builder
extends SdkPojo, CopyableBuilder<ItemDetails.Builder,ItemDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ItemDetails.BuilderadditionalInfo(Consumer<AdditionalInfo.Builder> additionalInfo) Additional information about the detected threat item.additionalInfo(AdditionalInfo additionalInfo) Additional information about the detected threat item.The hash value of the infected item.The path where the threat was detected.resourceArn(String resourceArn) Amazon Resource Name (ARN) of the resource where the threat was detected.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
-
resourceArn
Amazon Resource Name (ARN) of the resource where the threat was detected.
- Parameters:
resourceArn- Amazon Resource Name (ARN) of the resource where the threat was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemPath
The path where the threat was detected.
- Parameters:
itemPath- The path where the threat was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hash
The hash value of the infected item.
- Parameters:
hash- The hash value of the infected item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInfo
Additional information about the detected threat item.
- Parameters:
additionalInfo- Additional information about the detected threat item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInfo
Additional information about the detected threat item.
This is a convenience method that creates an instance of theAdditionalInfo.Builderavoiding the need to create one manually viaAdditionalInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalInfo(AdditionalInfo).- Parameters:
additionalInfo- a consumer that will call methods onAdditionalInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-