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 ==
.