Struct aws_sdk_ssm::model::PatchFilter
source · [−]#[non_exhaustive]pub struct PatchFilter { /* private fields */ }
Expand description
Defines which patches should be included in a patch baseline.
A patch filter consists of a key and a set of values. The filter key is a patch property. For example, the available filter keys for WINDOWS
are PATCH_SET
, PRODUCT
, PRODUCT_FAMILY
, CLASSIFICATION
, and MSRC_SEVERITY
.
The filter values define a matching criterion for the patch property indicated by the key. For example, if the filter key is PRODUCT
and the filter values are ["Office 2013", "Office 2016"]
, then the filter accepts all patches where product name is either "Office 2013" or "Office 2016". The filter values can be exact values for the patch property given as a key, or a wildcard (*), which matches all values.
You can view lists of valid values for the patch properties by running the DescribePatchProperties
command. For information about which patch properties can be used with each major operating system, see DescribePatchProperties
.
Implementations
sourceimpl PatchFilter
impl PatchFilter
sourcepub fn key(&self) -> Option<&PatchFilterKey>
pub fn key(&self) -> Option<&PatchFilterKey>
The key for the filter.
Run the DescribePatchProperties
command to view lists of valid keys for each operating system type.
sourceimpl PatchFilter
impl PatchFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PatchFilter
.
Trait Implementations
sourceimpl Clone for PatchFilter
impl Clone for PatchFilter
sourcefn clone(&self) -> PatchFilter
fn clone(&self) -> PatchFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PatchFilter
impl Debug for PatchFilter
sourceimpl PartialEq<PatchFilter> for PatchFilter
impl PartialEq<PatchFilter> for PatchFilter
sourcefn eq(&self, other: &PatchFilter) -> bool
fn eq(&self, other: &PatchFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PatchFilter) -> bool
fn ne(&self, other: &PatchFilter) -> bool
This method tests for !=
.
impl StructuralPartialEq for PatchFilter
Auto Trait Implementations
impl RefUnwindSafe for PatchFilter
impl Send for PatchFilter
impl Sync for PatchFilter
impl Unpin for PatchFilter
impl UnwindSafe for PatchFilter
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