Interface GetImageBlockPublicAccessStateResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetImageBlockPublicAccessStateResponse.Builder,GetImageBlockPublicAccessStateResponse>, Ec2Response.Builder, SdkBuilder<GetImageBlockPublicAccessStateResponse.Builder,GetImageBlockPublicAccessStateResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetImageBlockPublicAccessStateResponse

public static interface GetImageBlockPublicAccessStateResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetImageBlockPublicAccessStateResponse.Builder,GetImageBlockPublicAccessStateResponse>
  • 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.