Interface GetImageBlockPublicAccessStateResponse.Builder

  • Method Details

    • imageBlockPublicAccessState

      GetImageBlockPublicAccessStateResponse.Builder imageBlockPublicAccessState(String imageBlockPublicAccessState)

      The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.

      Possible values:

      • block-new-sharing - Any attempt to publicly share your AMIs in the specified Region is blocked.

      • unblocked - Your AMIs in the specified Region can be publicly shared.

      Parameters:
      imageBlockPublicAccessState - The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.

      Possible values:

      • block-new-sharing - Any attempt to publicly share your AMIs in the specified Region is blocked.

      • unblocked - Your AMIs in the specified Region can be publicly shared.

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

      The entity that manages the state for block public access for AMIs. Possible values include:

      • account - The state is managed by the account.

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

      Parameters:
      managedBy - The entity that manages the state for block public access for AMIs. Possible values include:

      • account - The state is managed by the account.

      • declarative-policy - The state 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

      The entity that manages the state for block public access for AMIs. Possible values include:

      • account - The state is managed by the account.

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

      Parameters:
      managedBy - The entity that manages the state for block public access for AMIs. Possible values include:

      • account - The state is managed by the account.

      • declarative-policy - The state 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: