Interface MalwareScan.Builder

  • Method Details

    • resourceArn

      MalwareScan.Builder resourceArn(String resourceArn)

      Amazon Resource Name (ARN) of the resource for the given malware scan.

      Parameters:
      resourceArn - Amazon Resource Name (ARN) of the resource for the given malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      MalwareScan.Builder resourceType(String resourceType)

      The type of resource that was scanned for malware.

      Parameters:
      resourceType - The type of resource that was scanned for malware.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      The type of resource that was scanned for malware.

      Parameters:
      resourceType - The type of resource that was scanned for malware.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanId

      MalwareScan.Builder scanId(String scanId)

      A unique identifier that gets generated when you invoke the API without any error. Each malware scan has a corresponding scan ID. Using this scan ID, you can monitor the status of your malware scan.

      Parameters:
      scanId - A unique identifier that gets generated when you invoke the API without any error. Each malware scan has a corresponding scan ID. Using this scan ID, you can monitor the status of your malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanStatus

      MalwareScan.Builder scanStatus(String scanStatus)

      An enum value representing the current status of the malware scan.

      Parameters:
      scanStatus - An enum value representing the current status of the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanStatus

      An enum value representing the current status of the malware scan.

      Parameters:
      scanStatus - An enum value representing the current status of the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanResultStatus

      MalwareScan.Builder scanResultStatus(String scanResultStatus)

      An enum value representing the result of the malware scan.

      Parameters:
      scanResultStatus - An enum value representing the result of the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanResultStatus

      MalwareScan.Builder scanResultStatus(ScanResultStatus scanResultStatus)

      An enum value representing the result of the malware scan.

      Parameters:
      scanResultStatus - An enum value representing the result of the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanType

      MalwareScan.Builder scanType(String scanType)

      An enum value representing the type of scan that was initiated.

      Parameters:
      scanType - An enum value representing the type of scan that was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanType

      An enum value representing the type of scan that was initiated.

      Parameters:
      scanType - An enum value representing the type of scan that was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanStartedAt

      MalwareScan.Builder scanStartedAt(Instant scanStartedAt)

      The timestamp representing when the malware scan was started.

      Parameters:
      scanStartedAt - The timestamp representing when the malware scan was started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanCompletedAt

      MalwareScan.Builder scanCompletedAt(Instant scanCompletedAt)

      The timestamp representing when the malware scan was completed.

      Parameters:
      scanCompletedAt - The timestamp representing when the malware scan was completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.