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
source§fn eq(&self, other: &EffectivePatchBuilder) -> bool
fn eq(&self, other: &EffectivePatchBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.