Struct aws_sdk_ssm::types::builders::PatchComplianceDataBuilder
source · #[non_exhaustive]pub struct PatchComplianceDataBuilder { /* private fields */ }Expand description
A builder for PatchComplianceData.
Implementations§
source§impl PatchComplianceDataBuilder
impl PatchComplianceDataBuilder
sourcepub fn kb_id(self, input: impl Into<String>) -> Self
pub fn kb_id(self, input: impl Into<String>) -> Self
The operating system-specific ID of the patch.
sourcepub fn set_kb_id(self, input: Option<String>) -> Self
pub fn set_kb_id(self, input: Option<String>) -> Self
The operating system-specific ID of the patch.
sourcepub fn classification(self, input: impl Into<String>) -> Self
pub fn classification(self, input: impl Into<String>) -> Self
The classification of the patch, such as SecurityUpdates, Updates, and CriticalUpdates.
sourcepub fn set_classification(self, input: Option<String>) -> Self
pub fn set_classification(self, input: Option<String>) -> Self
The classification of the patch, such as SecurityUpdates, Updates, and CriticalUpdates.
sourcepub fn severity(self, input: impl Into<String>) -> Self
pub fn severity(self, input: impl Into<String>) -> Self
The severity of the patch such as Critical, Important, and Moderate.
sourcepub fn set_severity(self, input: Option<String>) -> Self
pub fn set_severity(self, input: Option<String>) -> Self
The severity of the patch such as Critical, Important, and Moderate.
sourcepub fn state(self, input: PatchComplianceDataState) -> Self
pub fn state(self, input: PatchComplianceDataState) -> Self
The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
sourcepub fn set_state(self, input: Option<PatchComplianceDataState>) -> Self
pub fn set_state(self, input: Option<PatchComplianceDataState>) -> Self
The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
sourcepub fn installed_time(self, input: DateTime) -> Self
pub fn installed_time(self, input: DateTime) -> Self
The date/time the patch was installed on the managed node. Not all operating systems provide this level of information.
sourcepub fn set_installed_time(self, input: Option<DateTime>) -> Self
pub fn set_installed_time(self, input: Option<DateTime>) -> Self
The date/time the patch was installed on the managed node. Not all operating systems provide this level of information.
sourcepub fn cve_ids(self, input: impl Into<String>) -> Self
pub fn cve_ids(self, input: impl Into<String>) -> Self
The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by the patch.
sourcepub fn set_cve_ids(self, input: Option<String>) -> Self
pub fn set_cve_ids(self, input: Option<String>) -> Self
The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by the patch.
sourcepub fn build(self) -> PatchComplianceData
pub fn build(self) -> PatchComplianceData
Consumes the builder and constructs a PatchComplianceData.
Trait Implementations§
source§impl Clone for PatchComplianceDataBuilder
impl Clone for PatchComplianceDataBuilder
source§fn clone(&self) -> PatchComplianceDataBuilder
fn clone(&self) -> PatchComplianceDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PatchComplianceDataBuilder
impl Debug for PatchComplianceDataBuilder
source§impl Default for PatchComplianceDataBuilder
impl Default for PatchComplianceDataBuilder
source§fn default() -> PatchComplianceDataBuilder
fn default() -> PatchComplianceDataBuilder
source§impl PartialEq<PatchComplianceDataBuilder> for PatchComplianceDataBuilder
impl PartialEq<PatchComplianceDataBuilder> for PatchComplianceDataBuilder
source§fn eq(&self, other: &PatchComplianceDataBuilder) -> bool
fn eq(&self, other: &PatchComplianceDataBuilder) -> bool
self and other values to be equal, and is used
by ==.