Struct aws_sdk_ssm::types::builders::BaselineOverrideBuilder
source · #[non_exhaustive]pub struct BaselineOverrideBuilder { /* private fields */ }
Expand description
A builder for BaselineOverride
.
Implementations§
source§impl BaselineOverrideBuilder
impl BaselineOverrideBuilder
sourcepub fn operating_system(self, input: OperatingSystem) -> Self
pub fn operating_system(self, input: OperatingSystem) -> Self
The operating system rule used by the patch baseline override.
sourcepub fn set_operating_system(self, input: Option<OperatingSystem>) -> Self
pub fn set_operating_system(self, input: Option<OperatingSystem>) -> Self
The operating system rule used by the patch baseline override.
sourcepub fn get_operating_system(&self) -> &Option<OperatingSystem>
pub fn get_operating_system(&self) -> &Option<OperatingSystem>
The operating system rule used by the patch baseline override.
sourcepub fn global_filters(self, input: PatchFilterGroup) -> Self
pub fn global_filters(self, input: PatchFilterGroup) -> Self
A set of patch filters, typically used for approval rules.
sourcepub fn set_global_filters(self, input: Option<PatchFilterGroup>) -> Self
pub fn set_global_filters(self, input: Option<PatchFilterGroup>) -> Self
A set of patch filters, typically used for approval rules.
sourcepub fn get_global_filters(&self) -> &Option<PatchFilterGroup>
pub fn get_global_filters(&self) -> &Option<PatchFilterGroup>
A set of patch filters, typically used for approval rules.
sourcepub fn approval_rules(self, input: PatchRuleGroup) -> Self
pub fn approval_rules(self, input: PatchRuleGroup) -> Self
A set of rules defining the approval rules for a patch baseline.
sourcepub fn set_approval_rules(self, input: Option<PatchRuleGroup>) -> Self
pub fn set_approval_rules(self, input: Option<PatchRuleGroup>) -> Self
A set of rules defining the approval rules for a patch baseline.
sourcepub fn get_approval_rules(&self) -> &Option<PatchRuleGroup>
pub fn get_approval_rules(&self) -> &Option<PatchRuleGroup>
A set of rules defining the approval rules for a patch baseline.
sourcepub fn approved_patches(self, input: impl Into<String>) -> Self
pub fn approved_patches(self, input: impl Into<String>) -> Self
Appends an item to approved_patches
.
To override the contents of this collection use set_approved_patches
.
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
sourcepub fn set_approved_patches(self, input: Option<Vec<String>>) -> Self
pub fn set_approved_patches(self, input: Option<Vec<String>>) -> Self
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
sourcepub fn get_approved_patches(&self) -> &Option<Vec<String>>
pub fn get_approved_patches(&self) -> &Option<Vec<String>>
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
sourcepub fn approved_patches_compliance_level(
self,
input: PatchComplianceLevel
) -> Self
pub fn approved_patches_compliance_level( self, input: PatchComplianceLevel ) -> Self
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
sourcepub fn set_approved_patches_compliance_level(
self,
input: Option<PatchComplianceLevel>
) -> Self
pub fn set_approved_patches_compliance_level( self, input: Option<PatchComplianceLevel> ) -> Self
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
sourcepub fn get_approved_patches_compliance_level(
&self
) -> &Option<PatchComplianceLevel>
pub fn get_approved_patches_compliance_level( &self ) -> &Option<PatchComplianceLevel>
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
sourcepub fn rejected_patches(self, input: impl Into<String>) -> Self
pub fn rejected_patches(self, input: impl Into<String>) -> Self
Appends an item to rejected_patches
.
To override the contents of this collection use set_rejected_patches
.
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
sourcepub fn set_rejected_patches(self, input: Option<Vec<String>>) -> Self
pub fn set_rejected_patches(self, input: Option<Vec<String>>) -> Self
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
sourcepub fn get_rejected_patches(&self) -> &Option<Vec<String>>
pub fn get_rejected_patches(&self) -> &Option<Vec<String>>
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
sourcepub fn rejected_patches_action(self, input: PatchAction) -> Self
pub fn rejected_patches_action(self, input: PatchAction) -> Self
The action for Patch Manager to take on patches included in the RejectedPackages
list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.
sourcepub fn set_rejected_patches_action(self, input: Option<PatchAction>) -> Self
pub fn set_rejected_patches_action(self, input: Option<PatchAction>) -> Self
The action for Patch Manager to take on patches included in the RejectedPackages
list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.
sourcepub fn get_rejected_patches_action(&self) -> &Option<PatchAction>
pub fn get_rejected_patches_action(&self) -> &Option<PatchAction>
The action for Patch Manager to take on patches included in the RejectedPackages
list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.
sourcepub fn approved_patches_enable_non_security(self, input: bool) -> Self
pub fn approved_patches_enable_non_security(self, input: bool) -> Self
Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false
. Applies to Linux managed nodes only.
sourcepub fn set_approved_patches_enable_non_security(
self,
input: Option<bool>
) -> Self
pub fn set_approved_patches_enable_non_security( self, input: Option<bool> ) -> Self
Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false
. Applies to Linux managed nodes only.
sourcepub fn get_approved_patches_enable_non_security(&self) -> &Option<bool>
pub fn get_approved_patches_enable_non_security(&self) -> &Option<bool>
Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false
. Applies to Linux managed nodes only.
sourcepub fn sources(self, input: PatchSource) -> Self
pub fn sources(self, input: PatchSource) -> Self
Appends an item to sources
.
To override the contents of this collection use set_sources
.
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
sourcepub fn set_sources(self, input: Option<Vec<PatchSource>>) -> Self
pub fn set_sources(self, input: Option<Vec<PatchSource>>) -> Self
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
sourcepub fn get_sources(&self) -> &Option<Vec<PatchSource>>
pub fn get_sources(&self) -> &Option<Vec<PatchSource>>
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
sourcepub fn build(self) -> BaselineOverride
pub fn build(self) -> BaselineOverride
Consumes the builder and constructs a BaselineOverride
.
Trait Implementations§
source§impl Clone for BaselineOverrideBuilder
impl Clone for BaselineOverrideBuilder
source§fn clone(&self) -> BaselineOverrideBuilder
fn clone(&self) -> BaselineOverrideBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BaselineOverrideBuilder
impl Debug for BaselineOverrideBuilder
source§impl Default for BaselineOverrideBuilder
impl Default for BaselineOverrideBuilder
source§fn default() -> BaselineOverrideBuilder
fn default() -> BaselineOverrideBuilder
source§impl PartialEq for BaselineOverrideBuilder
impl PartialEq for BaselineOverrideBuilder
source§fn eq(&self, other: &BaselineOverrideBuilder) -> bool
fn eq(&self, other: &BaselineOverrideBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.