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 ==
.impl StructuralPartialEq for GetImageBlockPublicAccessStateOutputBuilder
Auto Trait Implementations§
impl Freeze for GetImageBlockPublicAccessStateOutputBuilder
impl RefUnwindSafe for GetImageBlockPublicAccessStateOutputBuilder
impl Send for GetImageBlockPublicAccessStateOutputBuilder
impl Sync for GetImageBlockPublicAccessStateOutputBuilder
impl Unpin for GetImageBlockPublicAccessStateOutputBuilder
impl UnwindSafe for GetImageBlockPublicAccessStateOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more