Struct aws_sdk_appstream::types::builders::ImagePermissionsBuilder
source · #[non_exhaustive]pub struct ImagePermissionsBuilder { /* private fields */ }
Expand description
A builder for ImagePermissions
.
Implementations§
source§impl ImagePermissionsBuilder
impl ImagePermissionsBuilder
sourcepub fn allow_fleet(self, input: bool) -> Self
pub fn allow_fleet(self, input: bool) -> Self
Indicates whether the image can be used for a fleet.
sourcepub fn set_allow_fleet(self, input: Option<bool>) -> Self
pub fn set_allow_fleet(self, input: Option<bool>) -> Self
Indicates whether the image can be used for a fleet.
sourcepub fn get_allow_fleet(&self) -> &Option<bool>
pub fn get_allow_fleet(&self) -> &Option<bool>
Indicates whether the image can be used for a fleet.
sourcepub fn allow_image_builder(self, input: bool) -> Self
pub fn allow_image_builder(self, input: bool) -> Self
Indicates whether the image can be used for an image builder.
sourcepub fn set_allow_image_builder(self, input: Option<bool>) -> Self
pub fn set_allow_image_builder(self, input: Option<bool>) -> Self
Indicates whether the image can be used for an image builder.
sourcepub fn get_allow_image_builder(&self) -> &Option<bool>
pub fn get_allow_image_builder(&self) -> &Option<bool>
Indicates whether the image can be used for an image builder.
sourcepub fn build(self) -> ImagePermissions
pub fn build(self) -> ImagePermissions
Consumes the builder and constructs a ImagePermissions
.
Trait Implementations§
source§impl Clone for ImagePermissionsBuilder
impl Clone for ImagePermissionsBuilder
source§fn clone(&self) -> ImagePermissionsBuilder
fn clone(&self) -> ImagePermissionsBuilder
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§impl Debug for ImagePermissionsBuilder
impl Debug for ImagePermissionsBuilder
source§impl Default for ImagePermissionsBuilder
impl Default for ImagePermissionsBuilder
source§fn default() -> ImagePermissionsBuilder
fn default() -> ImagePermissionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ImagePermissionsBuilder
impl PartialEq for ImagePermissionsBuilder
source§fn eq(&self, other: &ImagePermissionsBuilder) -> bool
fn eq(&self, other: &ImagePermissionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImagePermissionsBuilder
Auto Trait Implementations§
impl Freeze for ImagePermissionsBuilder
impl RefUnwindSafe for ImagePermissionsBuilder
impl Send for ImagePermissionsBuilder
impl Sync for ImagePermissionsBuilder
impl Unpin for ImagePermissionsBuilder
impl UnwindSafe for ImagePermissionsBuilder
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.