Struct aws_sdk_ssm::types::builders::EffectivePatchBuilder
source · #[non_exhaustive]pub struct EffectivePatchBuilder { /* private fields */ }
Expand description
A builder for EffectivePatch
.
Implementations§
source§impl EffectivePatchBuilder
impl EffectivePatchBuilder
sourcepub fn patch(self, input: Patch) -> Self
pub fn patch(self, input: Patch) -> Self
Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.
sourcepub fn set_patch(self, input: Option<Patch>) -> Self
pub fn set_patch(self, input: Option<Patch>) -> Self
Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.
sourcepub fn get_patch(&self) -> &Option<Patch>
pub fn get_patch(&self) -> &Option<Patch>
Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.
sourcepub fn patch_status(self, input: PatchStatus) -> Self
pub fn patch_status(self, input: PatchStatus) -> Self
The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.
sourcepub fn set_patch_status(self, input: Option<PatchStatus>) -> Self
pub fn set_patch_status(self, input: Option<PatchStatus>) -> Self
The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.
sourcepub fn get_patch_status(&self) -> &Option<PatchStatus>
pub fn get_patch_status(&self) -> &Option<PatchStatus>
The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.
sourcepub fn build(self) -> EffectivePatch
pub fn build(self) -> EffectivePatch
Consumes the builder and constructs a EffectivePatch
.
Trait Implementations§
source§impl Clone for EffectivePatchBuilder
impl Clone for EffectivePatchBuilder
source§fn clone(&self) -> EffectivePatchBuilder
fn clone(&self) -> EffectivePatchBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EffectivePatchBuilder
impl Debug for EffectivePatchBuilder
source§impl Default for EffectivePatchBuilder
impl Default for EffectivePatchBuilder
source§fn default() -> EffectivePatchBuilder
fn default() -> EffectivePatchBuilder
source§impl PartialEq for EffectivePatchBuilder
impl PartialEq for EffectivePatchBuilder
impl StructuralPartialEq for EffectivePatchBuilder
Auto Trait Implementations§
impl Freeze for EffectivePatchBuilder
impl RefUnwindSafe for EffectivePatchBuilder
impl Send for EffectivePatchBuilder
impl Sync for EffectivePatchBuilder
impl Unpin for EffectivePatchBuilder
impl UnwindSafe for EffectivePatchBuilder
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