#[non_exhaustive]pub struct LifecyclePolicyDetailExclusionRulesBuilder { /* private fields */ }
Expand description
A builder for LifecyclePolicyDetailExclusionRules
.
Implementations§
source§impl LifecyclePolicyDetailExclusionRulesBuilder
impl LifecyclePolicyDetailExclusionRulesBuilder
sourcepub fn tag_map(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn tag_map(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to tag_map
.
To override the contents of this collection use set_tag_map
.
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
sourcepub fn set_tag_map(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_tag_map(self, input: Option<HashMap<String, String>>) -> Self
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
sourcepub fn get_tag_map(&self) -> &Option<HashMap<String, String>>
pub fn get_tag_map(&self) -> &Option<HashMap<String, String>>
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
sourcepub fn amis(self, input: LifecyclePolicyDetailExclusionRulesAmis) -> Self
pub fn amis(self, input: LifecyclePolicyDetailExclusionRulesAmis) -> Self
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
sourcepub fn set_amis(
self,
input: Option<LifecyclePolicyDetailExclusionRulesAmis>,
) -> Self
pub fn set_amis( self, input: Option<LifecyclePolicyDetailExclusionRulesAmis>, ) -> Self
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
sourcepub fn get_amis(&self) -> &Option<LifecyclePolicyDetailExclusionRulesAmis>
pub fn get_amis(&self) -> &Option<LifecyclePolicyDetailExclusionRulesAmis>
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
sourcepub fn build(self) -> LifecyclePolicyDetailExclusionRules
pub fn build(self) -> LifecyclePolicyDetailExclusionRules
Consumes the builder and constructs a LifecyclePolicyDetailExclusionRules
.
Trait Implementations§
source§impl Clone for LifecyclePolicyDetailExclusionRulesBuilder
impl Clone for LifecyclePolicyDetailExclusionRulesBuilder
source§fn clone(&self) -> LifecyclePolicyDetailExclusionRulesBuilder
fn clone(&self) -> LifecyclePolicyDetailExclusionRulesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LifecyclePolicyDetailExclusionRulesBuilder
impl Default for LifecyclePolicyDetailExclusionRulesBuilder
source§fn default() -> LifecyclePolicyDetailExclusionRulesBuilder
fn default() -> LifecyclePolicyDetailExclusionRulesBuilder
source§impl PartialEq for LifecyclePolicyDetailExclusionRulesBuilder
impl PartialEq for LifecyclePolicyDetailExclusionRulesBuilder
source§fn eq(&self, other: &LifecyclePolicyDetailExclusionRulesBuilder) -> bool
fn eq(&self, other: &LifecyclePolicyDetailExclusionRulesBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LifecyclePolicyDetailExclusionRulesBuilder
Auto Trait Implementations§
impl Freeze for LifecyclePolicyDetailExclusionRulesBuilder
impl RefUnwindSafe for LifecyclePolicyDetailExclusionRulesBuilder
impl Send for LifecyclePolicyDetailExclusionRulesBuilder
impl Sync for LifecyclePolicyDetailExclusionRulesBuilder
impl Unpin for LifecyclePolicyDetailExclusionRulesBuilder
impl UnwindSafe for LifecyclePolicyDetailExclusionRulesBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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