Struct aws_sdk_ssm::types::PatchBaselineIdentity
source · #[non_exhaustive]pub struct PatchBaselineIdentity {
pub baseline_id: Option<String>,
pub baseline_name: Option<String>,
pub operating_system: Option<OperatingSystem>,
pub baseline_description: Option<String>,
pub default_baseline: bool,
}
Expand description
Defines the basic information about a patch baseline.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.baseline_id: Option<String>
The ID of the patch baseline.
baseline_name: Option<String>
The name of the patch baseline.
operating_system: Option<OperatingSystem>
Defines the operating system the patch baseline applies to. The default value is WINDOWS
.
baseline_description: Option<String>
The description of the patch baseline.
default_baseline: bool
Whether this is the default baseline. Amazon Web Services Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.
Implementations§
source§impl PatchBaselineIdentity
impl PatchBaselineIdentity
sourcepub fn baseline_id(&self) -> Option<&str>
pub fn baseline_id(&self) -> Option<&str>
The ID of the patch baseline.
sourcepub fn baseline_name(&self) -> Option<&str>
pub fn baseline_name(&self) -> Option<&str>
The name of the patch baseline.
sourcepub fn operating_system(&self) -> Option<&OperatingSystem>
pub fn operating_system(&self) -> Option<&OperatingSystem>
Defines the operating system the patch baseline applies to. The default value is WINDOWS
.
sourcepub fn baseline_description(&self) -> Option<&str>
pub fn baseline_description(&self) -> Option<&str>
The description of the patch baseline.
sourcepub fn default_baseline(&self) -> bool
pub fn default_baseline(&self) -> bool
Whether this is the default baseline. Amazon Web Services Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.
source§impl PatchBaselineIdentity
impl PatchBaselineIdentity
sourcepub fn builder() -> PatchBaselineIdentityBuilder
pub fn builder() -> PatchBaselineIdentityBuilder
Creates a new builder-style object to manufacture PatchBaselineIdentity
.
Trait Implementations§
source§impl Clone for PatchBaselineIdentity
impl Clone for PatchBaselineIdentity
source§fn clone(&self) -> PatchBaselineIdentity
fn clone(&self) -> PatchBaselineIdentity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PatchBaselineIdentity
impl Debug for PatchBaselineIdentity
source§impl PartialEq for PatchBaselineIdentity
impl PartialEq for PatchBaselineIdentity
source§fn eq(&self, other: &PatchBaselineIdentity) -> bool
fn eq(&self, other: &PatchBaselineIdentity) -> bool
self
and other
values to be equal, and is used
by ==
.