Interface ImageCriterion.Builder

    • Method Detail

      • imageProviders

        ImageCriterion.Builder imageProviders​(Collection<String> imageProviders)

        A list of AMI providers whose AMIs are discoverable and useable in the account. Up to a total of 200 values can be specified.

        Possible values:

        amazon: Allow AMIs created by Amazon Web Services.

        aws-marketplace: Allow AMIs created by verified providers in the Amazon Web Services Marketplace.

        aws-backup-vault: Allow AMIs created by Amazon Web Services Backup.

        12-digit account ID: Allow AMIs created by this account. One or more account IDs can be specified.

        none: Allow AMIs created by your own account only.

        Parameters:
        imageProviders - A list of AMI providers whose AMIs are discoverable and useable in the account. Up to a total of 200 values can be specified.

        Possible values:

        amazon: Allow AMIs created by Amazon Web Services.

        aws-marketplace: Allow AMIs created by verified providers in the Amazon Web Services Marketplace.

        aws-backup-vault: Allow AMIs created by Amazon Web Services Backup.

        12-digit account ID: Allow AMIs created by this account. One or more account IDs can be specified.

        none: Allow AMIs created by your own account only.

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

        ImageCriterion.Builder imageProviders​(String... imageProviders)

        A list of AMI providers whose AMIs are discoverable and useable in the account. Up to a total of 200 values can be specified.

        Possible values:

        amazon: Allow AMIs created by Amazon Web Services.

        aws-marketplace: Allow AMIs created by verified providers in the Amazon Web Services Marketplace.

        aws-backup-vault: Allow AMIs created by Amazon Web Services Backup.

        12-digit account ID: Allow AMIs created by this account. One or more account IDs can be specified.

        none: Allow AMIs created by your own account only.

        Parameters:
        imageProviders - A list of AMI providers whose AMIs are discoverable and useable in the account. Up to a total of 200 values can be specified.

        Possible values:

        amazon: Allow AMIs created by Amazon Web Services.

        aws-marketplace: Allow AMIs created by verified providers in the Amazon Web Services Marketplace.

        aws-backup-vault: Allow AMIs created by Amazon Web Services Backup.

        12-digit account ID: Allow AMIs created by this account. One or more account IDs can be specified.

        none: Allow AMIs created by your own account only.

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