Interface EbsVolumeScanDetails.Builder

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

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

    • scanId

      Unique Id of the malware scan that generated the finding.

      Parameters:
      scanId - Unique Id of the malware scan that generated the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanStartedAt

      EbsVolumeScanDetails.Builder scanStartedAt(Instant scanStartedAt)

      Returns the start date and time of the malware scan.

      Parameters:
      scanStartedAt - Returns the start date and time of the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanCompletedAt

      EbsVolumeScanDetails.Builder scanCompletedAt(Instant scanCompletedAt)

      Returns the completion date and time of the malware scan.

      Parameters:
      scanCompletedAt - Returns the completion date and time of the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerFindingId

      EbsVolumeScanDetails.Builder triggerFindingId(String triggerFindingId)

      GuardDuty finding ID that triggered a malware scan.

      Parameters:
      triggerFindingId - GuardDuty finding ID that triggered a malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      Contains list of threat intelligence sources used to detect threats.

      Parameters:
      sources - Contains list of threat intelligence sources used to detect threats.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      EbsVolumeScanDetails.Builder sources(String... sources)

      Contains list of threat intelligence sources used to detect threats.

      Parameters:
      sources - Contains list of threat intelligence sources used to detect threats.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanDetections

      EbsVolumeScanDetails.Builder scanDetections(ScanDetections scanDetections)

      Contains a complete view providing malware scan result details.

      Parameters:
      scanDetections - Contains a complete view providing malware scan result details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanDetections

      default EbsVolumeScanDetails.Builder scanDetections(Consumer<ScanDetections.Builder> scanDetections)

      Contains a complete view providing malware scan result details.

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

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

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

      Specifies the scan type that invoked the malware scan.

      Parameters:
      scanType - Specifies the scan type that invoked the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanType

      Specifies the scan type that invoked the malware scan.

      Parameters:
      scanType - Specifies the scan type that invoked the malware scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: