Interface GetAllowedImagesSettingsResponse.Builder

    • Method Detail

      • state

        GetAllowedImagesSettingsResponse.Builder state​(String state)

        The current state of the Allowed AMIs setting at the account level in the specified Amazon Web Services Region.

        Possible values:

        • disabled: All AMIs are allowed.

        • audit-mode: All AMIs are allowed, but the ImageAllowed field is set to true if the AMI would be allowed with the current list of criteria if allowed AMIs was enabled.

        • enabled: Only AMIs matching the image criteria are discoverable and available for use.

        Parameters:
        state - The current state of the Allowed AMIs setting at the account level in the specified Amazon Web Services Region.

        Possible values:

        • disabled: All AMIs are allowed.

        • audit-mode: All AMIs are allowed, but the ImageAllowed field is set to true if the AMI would be allowed with the current list of criteria if allowed AMIs was enabled.

        • enabled: Only AMIs matching the image criteria are discoverable and available for use.

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

        GetAllowedImagesSettingsResponse.Builder imageCriteria​(Collection<ImageCriterion> imageCriteria)

        The list of criteria for images that are discoverable and usable in the account in the specified Amazon Web Services Region.

        Parameters:
        imageCriteria - The list of criteria for images that are discoverable and usable in the account in the specified Amazon Web Services Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageCriteria

        GetAllowedImagesSettingsResponse.Builder imageCriteria​(ImageCriterion... imageCriteria)

        The list of criteria for images that are discoverable and usable in the account in the specified Amazon Web Services Region.

        Parameters:
        imageCriteria - The list of criteria for images that are discoverable and usable in the account in the specified Amazon Web Services Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedBy

        GetAllowedImagesSettingsResponse.Builder managedBy​(String managedBy)

        The entity that manages the Allowed AMIs settings. Possible values include:

        • account - The Allowed AMIs settings is managed by the account.

        • declarative-policy - The Allowed AMIs settings is managed by a declarative policy and can't be modified by the account.

        Parameters:
        managedBy - The entity that manages the Allowed AMIs settings. Possible values include:

        • account - The Allowed AMIs settings is managed by the account.

        • declarative-policy - The Allowed AMIs settings is managed by a declarative policy and can't be modified by the account.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ManagedBy, ManagedBy
      • managedBy

        GetAllowedImagesSettingsResponse.Builder managedBy​(ManagedBy managedBy)

        The entity that manages the Allowed AMIs settings. Possible values include:

        • account - The Allowed AMIs settings is managed by the account.

        • declarative-policy - The Allowed AMIs settings is managed by a declarative policy and can't be modified by the account.

        Parameters:
        managedBy - The entity that manages the Allowed AMIs settings. Possible values include:

        • account - The Allowed AMIs settings is managed by the account.

        • declarative-policy - The Allowed AMIs settings is managed by a declarative policy and can't be modified by the account.

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