Interface ItemDetails.Builder

  • Method Details

    • resourceArn

      ItemDetails.Builder resourceArn(String 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

      ItemDetails.Builder itemPath(String 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

      ItemDetails.Builder additionalInfo(AdditionalInfo 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

      default ItemDetails.Builder additionalInfo(Consumer<AdditionalInfo.Builder> additionalInfo)

      Additional information about the detected threat item.

      This is a convenience method that creates an instance of the AdditionalInfo.Builder avoiding the need to create one manually via AdditionalInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to additionalInfo(AdditionalInfo).

      Parameters:
      additionalInfo - a consumer that will call methods on AdditionalInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: