Struct aws_sdk_ec2::operation::get_image_block_public_access_state::builders::GetImageBlockPublicAccessStateOutputBuilder
source · #[non_exhaustive]pub struct GetImageBlockPublicAccessStateOutputBuilder { /* private fields */ }
Expand description
A builder for GetImageBlockPublicAccessStateOutput
.
Implementations§
source§impl GetImageBlockPublicAccessStateOutputBuilder
impl GetImageBlockPublicAccessStateOutputBuilder
sourcepub fn image_block_public_access_state(self, input: impl Into<String>) -> Self
pub fn image_block_public_access_state(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_image_block_public_access_state(self, input: Option<String>) -> Self
pub fn set_image_block_public_access_state(self, input: Option<String>) -> Self
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.
sourcepub fn get_image_block_public_access_state(&self) -> &Option<String>
pub fn get_image_block_public_access_state(&self) -> &Option<String>
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.
sourcepub fn build(self) -> GetImageBlockPublicAccessStateOutput
pub fn build(self) -> GetImageBlockPublicAccessStateOutput
Consumes the builder and constructs a GetImageBlockPublicAccessStateOutput
.
Trait Implementations§
source§impl Clone for GetImageBlockPublicAccessStateOutputBuilder
impl Clone for GetImageBlockPublicAccessStateOutputBuilder
source§fn clone(&self) -> GetImageBlockPublicAccessStateOutputBuilder
fn clone(&self) -> GetImageBlockPublicAccessStateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetImageBlockPublicAccessStateOutputBuilder
impl Default for GetImageBlockPublicAccessStateOutputBuilder
source§fn default() -> GetImageBlockPublicAccessStateOutputBuilder
fn default() -> GetImageBlockPublicAccessStateOutputBuilder
source§impl PartialEq for GetImageBlockPublicAccessStateOutputBuilder
impl PartialEq for GetImageBlockPublicAccessStateOutputBuilder
source§fn eq(&self, other: &GetImageBlockPublicAccessStateOutputBuilder) -> bool
fn eq(&self, other: &GetImageBlockPublicAccessStateOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.