Interface ScanThreatName.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ScanThreatName.Builder,ScanThreatName>, SdkBuilder<ScanThreatName.Builder,ScanThreatName>, SdkPojo
Enclosing class:
ScanThreatName

public static interface ScanThreatName.Builder extends SdkPojo, CopyableBuilder<ScanThreatName.Builder,ScanThreatName>
  • Method Details

    • name

      The name of the identified threat.

      Parameters:
      name - The name of the identified threat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severity

      ScanThreatName.Builder severity(String severity)

      Severity of threat identified as part of the malware scan.

      Parameters:
      severity - Severity of threat identified as part of the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • itemCount

      ScanThreatName.Builder itemCount(Integer itemCount)

      Total number of files infected with given threat.

      Parameters:
      itemCount - Total number of files infected with given threat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filePaths

      List of infected files in EBS volume with details.

      Parameters:
      filePaths - List of infected files in EBS volume with details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filePaths

      ScanThreatName.Builder filePaths(ScanFilePath... filePaths)

      List of infected files in EBS volume with details.

      Parameters:
      filePaths - List of infected files in EBS volume with details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filePaths

      List of infected files in EBS volume with details.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filePaths(List<ScanFilePath>).

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