Interface MalwareScanDetails.Builder

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

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

    • threats

      Information about the detected threats associated with the generated GuardDuty finding.

      Parameters:
      threats - Information about the detected threats associated with the generated GuardDuty finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threats

      MalwareScanDetails.Builder threats(Threat... threats)

      Information about the detected threats associated with the generated GuardDuty finding.

      Parameters:
      threats - Information about the detected threats associated with the generated GuardDuty finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threats

      Information about the detected threats associated with the generated GuardDuty finding.

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

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

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