Struct aws_sdk_imagebuilder::types::builders::LifecyclePolicyDetailActionIncludeResourcesBuilder
source · #[non_exhaustive]pub struct LifecyclePolicyDetailActionIncludeResourcesBuilder { /* private fields */ }
Expand description
A builder for LifecyclePolicyDetailActionIncludeResources
.
Implementations§
source§impl LifecyclePolicyDetailActionIncludeResourcesBuilder
impl LifecyclePolicyDetailActionIncludeResourcesBuilder
sourcepub fn amis(self, input: bool) -> Self
pub fn amis(self, input: bool) -> Self
Specifies whether the lifecycle action should apply to distributed AMIs.
sourcepub fn set_amis(self, input: Option<bool>) -> Self
pub fn set_amis(self, input: Option<bool>) -> Self
Specifies whether the lifecycle action should apply to distributed AMIs.
sourcepub fn get_amis(&self) -> &Option<bool>
pub fn get_amis(&self) -> &Option<bool>
Specifies whether the lifecycle action should apply to distributed AMIs.
sourcepub fn snapshots(self, input: bool) -> Self
pub fn snapshots(self, input: bool) -> Self
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
sourcepub fn set_snapshots(self, input: Option<bool>) -> Self
pub fn set_snapshots(self, input: Option<bool>) -> Self
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
sourcepub fn get_snapshots(&self) -> &Option<bool>
pub fn get_snapshots(&self) -> &Option<bool>
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
sourcepub fn containers(self, input: bool) -> Self
pub fn containers(self, input: bool) -> Self
Specifies whether the lifecycle action should apply to distributed containers.
sourcepub fn set_containers(self, input: Option<bool>) -> Self
pub fn set_containers(self, input: Option<bool>) -> Self
Specifies whether the lifecycle action should apply to distributed containers.
sourcepub fn get_containers(&self) -> &Option<bool>
pub fn get_containers(&self) -> &Option<bool>
Specifies whether the lifecycle action should apply to distributed containers.
sourcepub fn build(self) -> LifecyclePolicyDetailActionIncludeResources
pub fn build(self) -> LifecyclePolicyDetailActionIncludeResources
Consumes the builder and constructs a LifecyclePolicyDetailActionIncludeResources
.
Trait Implementations§
source§impl Clone for LifecyclePolicyDetailActionIncludeResourcesBuilder
impl Clone for LifecyclePolicyDetailActionIncludeResourcesBuilder
source§fn clone(&self) -> LifecyclePolicyDetailActionIncludeResourcesBuilder
fn clone(&self) -> LifecyclePolicyDetailActionIncludeResourcesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LifecyclePolicyDetailActionIncludeResourcesBuilder
impl Default for LifecyclePolicyDetailActionIncludeResourcesBuilder
source§fn default() -> LifecyclePolicyDetailActionIncludeResourcesBuilder
fn default() -> LifecyclePolicyDetailActionIncludeResourcesBuilder
source§impl PartialEq for LifecyclePolicyDetailActionIncludeResourcesBuilder
impl PartialEq for LifecyclePolicyDetailActionIncludeResourcesBuilder
source§fn eq(&self, other: &LifecyclePolicyDetailActionIncludeResourcesBuilder) -> bool
fn eq(&self, other: &LifecyclePolicyDetailActionIncludeResourcesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LifecyclePolicyDetailActionIncludeResourcesBuilder
Auto Trait Implementations§
impl Freeze for LifecyclePolicyDetailActionIncludeResourcesBuilder
impl RefUnwindSafe for LifecyclePolicyDetailActionIncludeResourcesBuilder
impl Send for LifecyclePolicyDetailActionIncludeResourcesBuilder
impl Sync for LifecyclePolicyDetailActionIncludeResourcesBuilder
impl Unpin for LifecyclePolicyDetailActionIncludeResourcesBuilder
impl UnwindSafe for LifecyclePolicyDetailActionIncludeResourcesBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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