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 ==
.impl StructuralPartialEq for PatchBaselineIdentity
Auto Trait Implementations§
impl Freeze for PatchBaselineIdentity
impl RefUnwindSafe for PatchBaselineIdentity
impl Send for PatchBaselineIdentity
impl Sync for PatchBaselineIdentity
impl Unpin for PatchBaselineIdentity
impl UnwindSafe for PatchBaselineIdentity
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> 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