#[non_exhaustive]pub struct AwsSsmComplianceSummaryBuilder { /* private fields */ }Expand description
A builder for AwsSsmComplianceSummary.
Implementations§
source§impl AwsSsmComplianceSummaryBuilder
impl AwsSsmComplianceSummaryBuilder
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The current patch compliance status. Valid values are as follows:
-
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. Valid values are as follows:
-
COMPLIANT -
NON_COMPLIANT -
UNSPECIFIED_DATA
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The current patch compliance status. Valid values are as follows:
-
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 get_compliant_critical_count(&self) -> &Option<i32>
pub fn get_compliant_critical_count(&self) -> &Option<i32>
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 get_compliant_high_count(&self) -> &Option<i32>
pub fn get_compliant_high_count(&self) -> &Option<i32>
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 get_compliant_medium_count(&self) -> &Option<i32>
pub fn get_compliant_medium_count(&self) -> &Option<i32>
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 get_execution_type(&self) -> &Option<String>
pub fn get_execution_type(&self) -> &Option<String>
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 get_non_compliant_critical_count(&self) -> &Option<i32>
pub fn get_non_compliant_critical_count(&self) -> &Option<i32>
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 get_compliant_informational_count(&self) -> &Option<i32>
pub fn get_compliant_informational_count(&self) -> &Option<i32>
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 get_non_compliant_informational_count(&self) -> &Option<i32>
pub fn get_non_compliant_informational_count(&self) -> &Option<i32>
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 get_compliant_unspecified_count(&self) -> &Option<i32>
pub fn get_compliant_unspecified_count(&self) -> &Option<i32>
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 get_non_compliant_low_count(&self) -> &Option<i32>
pub fn get_non_compliant_low_count(&self) -> &Option<i32>
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 get_non_compliant_high_count(&self) -> &Option<i32>
pub fn get_non_compliant_high_count(&self) -> &Option<i32>
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 get_compliant_low_count(&self) -> &Option<i32>
pub fn get_compliant_low_count(&self) -> &Option<i32>
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 get_compliance_type(&self) -> &Option<String>
pub fn get_compliance_type(&self) -> &Option<String>
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 get_patch_baseline_id(&self) -> &Option<String>
pub fn get_patch_baseline_id(&self) -> &Option<String>
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. Valid values are as follows:
-
CRITICAL -
HIGH -
MEDIUM -
LOW -
INFORMATIONAL -
UNSPECIFIED
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. Valid values are as follows:
-
CRITICAL -
HIGH -
MEDIUM -
LOW -
INFORMATIONAL -
UNSPECIFIED
sourcepub fn get_overall_severity(&self) -> &Option<String>
pub fn get_overall_severity(&self) -> &Option<String>
The highest severity for the patches. Valid values are as follows:
-
CRITICAL -
HIGH -
MEDIUM -
LOW -
INFORMATIONAL -
UNSPECIFIED
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 get_non_compliant_medium_count(&self) -> &Option<i32>
pub fn get_non_compliant_medium_count(&self) -> &Option<i32>
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 get_non_compliant_unspecified_count(&self) -> &Option<i32>
pub fn get_non_compliant_unspecified_count(&self) -> &Option<i32>
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 get_patch_group(&self) -> &Option<String>
pub fn get_patch_group(&self) -> &Option<String>
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§
source§impl Clone for AwsSsmComplianceSummaryBuilder
impl Clone for AwsSsmComplianceSummaryBuilder
source§fn clone(&self) -> AwsSsmComplianceSummaryBuilder
fn clone(&self) -> AwsSsmComplianceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsSsmComplianceSummaryBuilder
impl Default for AwsSsmComplianceSummaryBuilder
source§fn default() -> AwsSsmComplianceSummaryBuilder
fn default() -> AwsSsmComplianceSummaryBuilder
source§impl PartialEq for AwsSsmComplianceSummaryBuilder
impl PartialEq for AwsSsmComplianceSummaryBuilder
source§fn eq(&self, other: &AwsSsmComplianceSummaryBuilder) -> bool
fn eq(&self, other: &AwsSsmComplianceSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.