Interface ImageCriterionRequest.Builder

    • Method Detail

      • imageProviders

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

        The image providers whose images are allowed.

        Possible values:

        • amazon: Allow AMIs created by Amazon or verified providers.

        • 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 the specified accounts. One or more account IDs can be specified.

        • none: Allow AMIs created by your own account only. When none is specified, no other values can be specified.

        Maximum: 200 values

        Parameters:
        imageProviders - The image providers whose images are allowed.

        Possible values:

        • amazon: Allow AMIs created by Amazon or verified providers.

        • 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 the specified accounts. One or more account IDs can be specified.

        • none: Allow AMIs created by your own account only. When none is specified, no other values can be specified.

        Maximum: 200 values

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

        ImageCriterionRequest.Builder imageProviders​(String... imageProviders)

        The image providers whose images are allowed.

        Possible values:

        • amazon: Allow AMIs created by Amazon or verified providers.

        • 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 the specified accounts. One or more account IDs can be specified.

        • none: Allow AMIs created by your own account only. When none is specified, no other values can be specified.

        Maximum: 200 values

        Parameters:
        imageProviders - The image providers whose images are allowed.

        Possible values:

        • amazon: Allow AMIs created by Amazon or verified providers.

        • 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 the specified accounts. One or more account IDs can be specified.

        • none: Allow AMIs created by your own account only. When none is specified, no other values can be specified.

        Maximum: 200 values

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

        ImageCriterionRequest.Builder marketplaceProductCodes​(Collection<String> marketplaceProductCodes)

        The Amazon Web Services Marketplace product codes for allowed images.

        Length: 1-25 characters

        Valid characters: Letters (A–Z, a–z) and numbers (0–9)

        Maximum: 50 values

        Parameters:
        marketplaceProductCodes - The Amazon Web Services Marketplace product codes for allowed images.

        Length: 1-25 characters

        Valid characters: Letters (A–Z, a–z) and numbers (0–9)

        Maximum: 50 values

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

        ImageCriterionRequest.Builder marketplaceProductCodes​(String... marketplaceProductCodes)

        The Amazon Web Services Marketplace product codes for allowed images.

        Length: 1-25 characters

        Valid characters: Letters (A–Z, a–z) and numbers (0–9)

        Maximum: 50 values

        Parameters:
        marketplaceProductCodes - The Amazon Web Services Marketplace product codes for allowed images.

        Length: 1-25 characters

        Valid characters: Letters (A–Z, a–z) and numbers (0–9)

        Maximum: 50 values

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

        ImageCriterionRequest.Builder imageNames​(Collection<String> imageNames)

        The names of allowed images. Names can include wildcards (? and *).

        Length: 1–128 characters. With ?, the minimum is 3 characters.

        Valid characters:

        • Letters: A–Z, a–z

        • Numbers: 0–9

        • Special characters: ( ) [ ] . / - ' @ _ * ?

        • Spaces

        Maximum: 50 values

        Parameters:
        imageNames - The names of allowed images. Names can include wildcards (? and *).

        Length: 1–128 characters. With ?, the minimum is 3 characters.

        Valid characters:

        • Letters: A–Z, a–z

        • Numbers: 0–9

        • Special characters: ( ) [ ] . / - ' @ _ * ?

        • Spaces

        Maximum: 50 values

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

        ImageCriterionRequest.Builder imageNames​(String... imageNames)

        The names of allowed images. Names can include wildcards (? and *).

        Length: 1–128 characters. With ?, the minimum is 3 characters.

        Valid characters:

        • Letters: A–Z, a–z

        • Numbers: 0–9

        • Special characters: ( ) [ ] . / - ' @ _ * ?

        • Spaces

        Maximum: 50 values

        Parameters:
        imageNames - The names of allowed images. Names can include wildcards (? and *).

        Length: 1–128 characters. With ?, the minimum is 3 characters.

        Valid characters:

        • Letters: A–Z, a–z

        • Numbers: 0–9

        • Special characters: ( ) [ ] . / - ' @ _ * ?

        • Spaces

        Maximum: 50 values

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

        ImageCriterionRequest.Builder deprecationTimeCondition​(DeprecationTimeConditionRequest deprecationTimeCondition)

        The maximum period since deprecation for allowed images.

        Parameters:
        deprecationTimeCondition - The maximum period since deprecation for allowed images.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDateCondition

        ImageCriterionRequest.Builder creationDateCondition​(CreationDateConditionRequest creationDateCondition)

        The maximum age for allowed images.

        Parameters:
        creationDateCondition - The maximum age for allowed images.
        Returns:
        Returns a reference to this object so that method calls can be chained together.