Interface ScanJobSummary.Builder

  • Method Details

    • region

      The Amazon Web Services Region where the scan jobs were executed.

      Parameters:
      region - The Amazon Web Services Region where the scan jobs were executed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      ScanJobSummary.Builder accountId(String accountId)

      The account ID that owns the scan jobs included in this summary.

      Parameters:
      accountId - The account ID that owns the scan jobs included in this summary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the scan jobs included in this summary.

      Valid values: CREATED | RUNNING | COMPLETED | COMPLETED_WITH_ISSUES | FAILED | CANCELED.

      Parameters:
      state - The state of the scan jobs included in this summary.

      Valid values: CREATED | RUNNING | COMPLETED | COMPLETED_WITH_ISSUES | FAILED | CANCELED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the scan jobs included in this summary.

      Valid values: CREATED | RUNNING | COMPLETED | COMPLETED_WITH_ISSUES | FAILED | CANCELED.

      Parameters:
      state - The state of the scan jobs included in this summary.

      Valid values: CREATED | RUNNING | COMPLETED | COMPLETED_WITH_ISSUES | FAILED | CANCELED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      ScanJobSummary.Builder resourceType(String resourceType)

      The type of Amazon Web Services resource for the scan jobs included in this summary.

      Parameters:
      resourceType - The type of Amazon Web Services resource for the scan jobs included in this summary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • count

      The number of scan jobs that match the specified criteria.

      Parameters:
      count - The number of scan jobs that match the specified criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      ScanJobSummary.Builder startTime(Instant startTime)

      The value of time in number format of a job start time.

      This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      startTime - The value of time in number format of a job start time.

      This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      ScanJobSummary.Builder endTime(Instant endTime)

      The value of time in number format of a job end time.

      This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      endTime - The value of time in number format of a job end time.

      This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • malwareScanner

      ScanJobSummary.Builder malwareScanner(String malwareScanner)

      Specifies the malware scanner used during the scan job. Currently only supports GUARDDUTY.

      Parameters:
      malwareScanner - Specifies the malware scanner used during the scan job. Currently only supports GUARDDUTY .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • malwareScanner

      ScanJobSummary.Builder malwareScanner(MalwareScanner malwareScanner)

      Specifies the malware scanner used during the scan job. Currently only supports GUARDDUTY.

      Parameters:
      malwareScanner - Specifies the malware scanner used during the scan job. Currently only supports GUARDDUTY .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanResultStatus

      ScanJobSummary.Builder scanResultStatus(String scanResultStatus)

      The scan result status for the scan jobs included in this summary.

      Valid values: THREATS_FOUND | NO_THREATS_FOUND.

      Parameters:
      scanResultStatus - The scan result status for the scan jobs included in this summary.

      Valid values: THREATS_FOUND | NO_THREATS_FOUND.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanResultStatus

      ScanJobSummary.Builder scanResultStatus(ScanResultStatus scanResultStatus)

      The scan result status for the scan jobs included in this summary.

      Valid values: THREATS_FOUND | NO_THREATS_FOUND.

      Parameters:
      scanResultStatus - The scan result status for the scan jobs included in this summary.

      Valid values: THREATS_FOUND | NO_THREATS_FOUND.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: