Interface AmiScanModeConfiguration.Builder

  • Method Details

    • scanMode

      The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.

      Parameters:
      scanMode - The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanMode

      The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.

      Parameters:
      scanMode - The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tag filters used to select which AMIs are scanned when using targeted scanning.

      Parameters:
      tags - The tag filters used to select which AMIs are scanned when using targeted scanning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tag filters used to select which AMIs are scanned when using targeted scanning.

      Parameters:
      tags - The tag filters used to select which AMIs are scanned when using targeted scanning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tag filters used to select which AMIs are scanned when using targeted scanning.

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

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

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

      AmiScanModeConfiguration.Builder excludeCopiedAmis(Boolean excludeCopiedAmis)

      Whether to exclude AMIs that are copies of other AMIs from scanning.

      Parameters:
      excludeCopiedAmis - Whether to exclude AMIs that are copies of other AMIs from scanning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludeBackupDlmAmis

      AmiScanModeConfiguration.Builder excludeBackupDlmAmis(Boolean excludeBackupDlmAmis)

      Whether to exclude AMIs created by Amazon Data Lifecycle Manager (DLM) backups from scanning.

      Parameters:
      excludeBackupDlmAmis - Whether to exclude AMIs created by Amazon Data Lifecycle Manager (DLM) backups from scanning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.