#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for AwsSsmComplianceSummary
Implementations
sourceimpl Builder
impl Builder
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The current patch compliance status.
The possible status values are:
-
COMPLIANT
-
NON_COMPLIANT
-
UNSPECIFIED_DATA
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The current patch compliance status.
The possible status values are:
-
COMPLIANT
-
NON_COMPLIANT
-
UNSPECIFIED_DATA
sourcepub fn compliant_critical_count(self, input: i32) -> Self
pub fn compliant_critical_count(self, input: i32) -> Self
For the patches that are compliant, the number that have a severity of CRITICAL
.
sourcepub fn set_compliant_critical_count(self, input: Option<i32>) -> Self
pub fn set_compliant_critical_count(self, input: Option<i32>) -> Self
For the patches that are compliant, the number that have a severity of CRITICAL
.
sourcepub fn compliant_high_count(self, input: i32) -> Self
pub fn compliant_high_count(self, input: i32) -> Self
For the patches that are compliant, the number that have a severity of HIGH
.
sourcepub fn set_compliant_high_count(self, input: Option<i32>) -> Self
pub fn set_compliant_high_count(self, input: Option<i32>) -> Self
For the patches that are compliant, the number that have a severity of HIGH
.
sourcepub fn compliant_medium_count(self, input: i32) -> Self
pub fn compliant_medium_count(self, input: i32) -> Self
For the patches that are compliant, the number that have a severity of MEDIUM
.
sourcepub fn set_compliant_medium_count(self, input: Option<i32>) -> Self
pub fn set_compliant_medium_count(self, input: Option<i32>) -> Self
For the patches that are compliant, the number that have a severity of MEDIUM
.
sourcepub fn execution_type(self, input: impl Into<String>) -> Self
pub fn execution_type(self, input: impl Into<String>) -> Self
The type of execution that was used determine compliance.
sourcepub fn set_execution_type(self, input: Option<String>) -> Self
pub fn set_execution_type(self, input: Option<String>) -> Self
The type of execution that was used determine compliance.
sourcepub fn non_compliant_critical_count(self, input: i32) -> Self
pub fn non_compliant_critical_count(self, input: i32) -> Self
For the patch items that are noncompliant, the number of items that have a severity of CRITICAL
.
sourcepub fn set_non_compliant_critical_count(self, input: Option<i32>) -> Self
pub fn set_non_compliant_critical_count(self, input: Option<i32>) -> Self
For the patch items that are noncompliant, the number of items that have a severity of CRITICAL
.
sourcepub fn compliant_informational_count(self, input: i32) -> Self
pub fn compliant_informational_count(self, input: i32) -> Self
For the patches that are compliant, the number that have a severity of INFORMATIONAL
.
sourcepub fn set_compliant_informational_count(self, input: Option<i32>) -> Self
pub fn set_compliant_informational_count(self, input: Option<i32>) -> Self
For the patches that are compliant, the number that have a severity of INFORMATIONAL
.
sourcepub fn non_compliant_informational_count(self, input: i32) -> Self
pub fn non_compliant_informational_count(self, input: i32) -> Self
For the patches that are noncompliant, the number that have a severity of INFORMATIONAL
.
sourcepub fn set_non_compliant_informational_count(self, input: Option<i32>) -> Self
pub fn set_non_compliant_informational_count(self, input: Option<i32>) -> Self
For the patches that are noncompliant, the number that have a severity of INFORMATIONAL
.
sourcepub fn compliant_unspecified_count(self, input: i32) -> Self
pub fn compliant_unspecified_count(self, input: i32) -> Self
For the patches that are compliant, the number that have a severity of UNSPECIFIED
.
sourcepub fn set_compliant_unspecified_count(self, input: Option<i32>) -> Self
pub fn set_compliant_unspecified_count(self, input: Option<i32>) -> Self
For the patches that are compliant, the number that have a severity of UNSPECIFIED
.
sourcepub fn non_compliant_low_count(self, input: i32) -> Self
pub fn non_compliant_low_count(self, input: i32) -> Self
For the patches that are noncompliant, the number that have a severity of LOW
.
sourcepub fn set_non_compliant_low_count(self, input: Option<i32>) -> Self
pub fn set_non_compliant_low_count(self, input: Option<i32>) -> Self
For the patches that are noncompliant, the number that have a severity of LOW
.
sourcepub fn non_compliant_high_count(self, input: i32) -> Self
pub fn non_compliant_high_count(self, input: i32) -> Self
For the patches that are noncompliant, the number that have a severity of HIGH
.
sourcepub fn set_non_compliant_high_count(self, input: Option<i32>) -> Self
pub fn set_non_compliant_high_count(self, input: Option<i32>) -> Self
For the patches that are noncompliant, the number that have a severity of HIGH
.
sourcepub fn compliant_low_count(self, input: i32) -> Self
pub fn compliant_low_count(self, input: i32) -> Self
For the patches that are compliant, the number that have a severity of LOW
.
sourcepub fn set_compliant_low_count(self, input: Option<i32>) -> Self
pub fn set_compliant_low_count(self, input: Option<i32>) -> Self
For the patches that are compliant, the number that have a severity of LOW
.
sourcepub fn compliance_type(self, input: impl Into<String>) -> Self
pub fn compliance_type(self, input: impl Into<String>) -> Self
The type of resource for which the compliance was determined. For AwsSsmPatchCompliance
, ComplianceType
is Patch
.
sourcepub fn set_compliance_type(self, input: Option<String>) -> Self
pub fn set_compliance_type(self, input: Option<String>) -> Self
The type of resource for which the compliance was determined. For AwsSsmPatchCompliance
, ComplianceType
is Patch
.
sourcepub fn patch_baseline_id(self, input: impl Into<String>) -> Self
pub fn patch_baseline_id(self, input: impl Into<String>) -> Self
The identifier of the patch baseline. The patch baseline lists the patches that are approved for installation.
sourcepub fn set_patch_baseline_id(self, input: Option<String>) -> Self
pub fn set_patch_baseline_id(self, input: Option<String>) -> Self
The identifier of the patch baseline. The patch baseline lists the patches that are approved for installation.
sourcepub fn overall_severity(self, input: impl Into<String>) -> Self
pub fn overall_severity(self, input: impl Into<String>) -> Self
The highest severity for the patches.
sourcepub fn set_overall_severity(self, input: Option<String>) -> Self
pub fn set_overall_severity(self, input: Option<String>) -> Self
The highest severity for the patches.
sourcepub fn non_compliant_medium_count(self, input: i32) -> Self
pub fn non_compliant_medium_count(self, input: i32) -> Self
For the patches that are noncompliant, the number that have a severity of MEDIUM
.
sourcepub fn set_non_compliant_medium_count(self, input: Option<i32>) -> Self
pub fn set_non_compliant_medium_count(self, input: Option<i32>) -> Self
For the patches that are noncompliant, the number that have a severity of MEDIUM
.
sourcepub fn non_compliant_unspecified_count(self, input: i32) -> Self
pub fn non_compliant_unspecified_count(self, input: i32) -> Self
For the patches that are noncompliant, the number that have a severity of UNSPECIFIED
.
sourcepub fn set_non_compliant_unspecified_count(self, input: Option<i32>) -> Self
pub fn set_non_compliant_unspecified_count(self, input: Option<i32>) -> Self
For the patches that are noncompliant, the number that have a severity of UNSPECIFIED
.
sourcepub fn patch_group(self, input: impl Into<String>) -> Self
pub fn patch_group(self, input: impl Into<String>) -> Self
The identifier of the patch group for which compliance was determined. A patch group uses tags to group EC2 instances that should have the same patch compliance.
sourcepub fn set_patch_group(self, input: Option<String>) -> Self
pub fn set_patch_group(self, input: Option<String>) -> Self
The identifier of the patch group for which compliance was determined. A patch group uses tags to group EC2 instances that should have the same patch compliance.
sourcepub fn build(self) -> AwsSsmComplianceSummary
pub fn build(self) -> AwsSsmComplianceSummary
Consumes the builder and constructs a AwsSsmComplianceSummary
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