#[non_exhaustive]pub struct SharedImagePermissionsBuilder { /* private fields */ }
Expand description
A builder for SharedImagePermissions
.
Implementations§
The 12-digit identifier of the AWS account with which the image is shared.
This field is required.The 12-digit identifier of the AWS account with which the image is shared.
The 12-digit identifier of the AWS account with which the image is shared.
sourcepub fn image_permissions(self, input: ImagePermissions) -> Self
pub fn image_permissions(self, input: ImagePermissions) -> Self
Describes the permissions for a shared image.
This field is required.sourcepub fn set_image_permissions(self, input: Option<ImagePermissions>) -> Self
pub fn set_image_permissions(self, input: Option<ImagePermissions>) -> Self
Describes the permissions for a shared image.
sourcepub fn get_image_permissions(&self) -> &Option<ImagePermissions>
pub fn get_image_permissions(&self) -> &Option<ImagePermissions>
Describes the permissions for a shared image.
sourcepub fn build(self) -> SharedImagePermissions
pub fn build(self) -> SharedImagePermissions
Consumes the builder and constructs a SharedImagePermissions
.
Trait Implementations§
source§fn clone(&self) -> SharedImagePermissionsBuilder
fn clone(&self) -> SharedImagePermissionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn default() -> SharedImagePermissionsBuilder
fn default() -> SharedImagePermissionsBuilder
Returns the “default value” for a type. Read more
source§fn eq(&self, other: &SharedImagePermissionsBuilder) -> bool
fn eq(&self, other: &SharedImagePermissionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.