Struct aws_sdk_ssm::model::patch_rule::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for PatchRule
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn patch_filter_group(self, input: PatchFilterGroup) -> Self
pub fn patch_filter_group(self, input: PatchFilterGroup) -> Self
The patch filter group that defines the criteria for the rule.
sourcepub fn set_patch_filter_group(self, input: Option<PatchFilterGroup>) -> Self
pub fn set_patch_filter_group(self, input: Option<PatchFilterGroup>) -> Self
The patch filter group that defines the criteria for the rule.
sourcepub fn compliance_level(self, input: PatchComplianceLevel) -> Self
pub fn compliance_level(self, input: PatchComplianceLevel) -> Self
A compliance severity level for all approved patches in a patch baseline.
sourcepub fn set_compliance_level(self, input: Option<PatchComplianceLevel>) -> Self
pub fn set_compliance_level(self, input: Option<PatchComplianceLevel>) -> Self
A compliance severity level for all approved patches in a patch baseline.
sourcepub fn approve_after_days(self, input: i32) -> Self
pub fn approve_after_days(self, input: i32) -> Self
The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of 7
means that patches are approved seven days after they are released. Not supported on Debian Server or Ubuntu Server.
sourcepub fn set_approve_after_days(self, input: Option<i32>) -> Self
pub fn set_approve_after_days(self, input: Option<i32>) -> Self
The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of 7
means that patches are approved seven days after they are released. Not supported on Debian Server or Ubuntu Server.
sourcepub fn approve_until_date(self, input: impl Into<String>) -> Self
pub fn approve_until_date(self, input: impl Into<String>) -> Self
The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Not supported on Debian Server or Ubuntu Server.
Enter dates in the format YYYY-MM-DD
. For example, 2021-12-31
.
sourcepub fn set_approve_until_date(self, input: Option<String>) -> Self
pub fn set_approve_until_date(self, input: Option<String>) -> Self
The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Not supported on Debian Server or Ubuntu Server.
Enter dates in the format YYYY-MM-DD
. For example, 2021-12-31
.
sourcepub fn enable_non_security(self, input: bool) -> Self
pub fn enable_non_security(self, input: bool) -> Self
For managed nodes identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is false
. Applies to Linux managed nodes only.
sourcepub fn set_enable_non_security(self, input: Option<bool>) -> Self
pub fn set_enable_non_security(self, input: Option<bool>) -> Self
For managed nodes identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is false
. Applies to Linux managed nodes only.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more