Struct aws_sdk_ssm::types::builders::PatchBaselineIdentityBuilder
source · #[non_exhaustive]pub struct PatchBaselineIdentityBuilder { /* private fields */ }Expand description
A builder for PatchBaselineIdentity.
Implementations§
source§impl PatchBaselineIdentityBuilder
impl PatchBaselineIdentityBuilder
sourcepub fn baseline_id(self, input: impl Into<String>) -> Self
pub fn baseline_id(self, input: impl Into<String>) -> Self
The ID of the patch baseline.
sourcepub fn set_baseline_id(self, input: Option<String>) -> Self
pub fn set_baseline_id(self, input: Option<String>) -> Self
The ID of the patch baseline.
sourcepub fn get_baseline_id(&self) -> &Option<String>
pub fn get_baseline_id(&self) -> &Option<String>
The ID of the patch baseline.
sourcepub fn baseline_name(self, input: impl Into<String>) -> Self
pub fn baseline_name(self, input: impl Into<String>) -> Self
The name of the patch baseline.
sourcepub fn set_baseline_name(self, input: Option<String>) -> Self
pub fn set_baseline_name(self, input: Option<String>) -> Self
The name of the patch baseline.
sourcepub fn get_baseline_name(&self) -> &Option<String>
pub fn get_baseline_name(&self) -> &Option<String>
The name of the patch baseline.
sourcepub fn operating_system(self, input: OperatingSystem) -> Self
pub fn operating_system(self, input: OperatingSystem) -> Self
Defines the operating system the patch baseline applies to. The default value is WINDOWS.
sourcepub fn set_operating_system(self, input: Option<OperatingSystem>) -> Self
pub fn set_operating_system(self, input: Option<OperatingSystem>) -> Self
Defines the operating system the patch baseline applies to. The default value is WINDOWS.
sourcepub fn get_operating_system(&self) -> &Option<OperatingSystem>
pub fn get_operating_system(&self) -> &Option<OperatingSystem>
Defines the operating system the patch baseline applies to. The default value is WINDOWS.
sourcepub fn baseline_description(self, input: impl Into<String>) -> Self
pub fn baseline_description(self, input: impl Into<String>) -> Self
The description of the patch baseline.
sourcepub fn set_baseline_description(self, input: Option<String>) -> Self
pub fn set_baseline_description(self, input: Option<String>) -> Self
The description of the patch baseline.
sourcepub fn get_baseline_description(&self) -> &Option<String>
pub fn get_baseline_description(&self) -> &Option<String>
The description of the patch baseline.
sourcepub fn default_baseline(self, input: bool) -> Self
pub fn default_baseline(self, input: bool) -> Self
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.
sourcepub fn set_default_baseline(self, input: Option<bool>) -> Self
pub fn set_default_baseline(self, input: Option<bool>) -> Self
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.
sourcepub fn get_default_baseline(&self) -> &Option<bool>
pub fn get_default_baseline(&self) -> &Option<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.
sourcepub fn build(self) -> PatchBaselineIdentity
pub fn build(self) -> PatchBaselineIdentity
Consumes the builder and constructs a PatchBaselineIdentity.
Trait Implementations§
source§impl Clone for PatchBaselineIdentityBuilder
impl Clone for PatchBaselineIdentityBuilder
source§fn clone(&self) -> PatchBaselineIdentityBuilder
fn clone(&self) -> PatchBaselineIdentityBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PatchBaselineIdentityBuilder
impl Debug for PatchBaselineIdentityBuilder
source§impl Default for PatchBaselineIdentityBuilder
impl Default for PatchBaselineIdentityBuilder
source§fn default() -> PatchBaselineIdentityBuilder
fn default() -> PatchBaselineIdentityBuilder
source§impl PartialEq for PatchBaselineIdentityBuilder
impl PartialEq for PatchBaselineIdentityBuilder
source§fn eq(&self, other: &PatchBaselineIdentityBuilder) -> bool
fn eq(&self, other: &PatchBaselineIdentityBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PatchBaselineIdentityBuilder
Auto Trait Implementations§
impl Freeze for PatchBaselineIdentityBuilder
impl RefUnwindSafe for PatchBaselineIdentityBuilder
impl Send for PatchBaselineIdentityBuilder
impl Sync for PatchBaselineIdentityBuilder
impl Unpin for PatchBaselineIdentityBuilder
impl UnwindSafe for PatchBaselineIdentityBuilder
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