Struct aws_sdk_ssm::types::builders::PatchRuleGroupBuilder
source · #[non_exhaustive]pub struct PatchRuleGroupBuilder { /* private fields */ }Expand description
A builder for PatchRuleGroup.
Implementations§
source§impl PatchRuleGroupBuilder
impl PatchRuleGroupBuilder
sourcepub fn patch_rules(self, input: PatchRule) -> Self
pub fn patch_rules(self, input: PatchRule) -> Self
Appends an item to patch_rules.
To override the contents of this collection use set_patch_rules.
The rules that make up the rule group.
sourcepub fn set_patch_rules(self, input: Option<Vec<PatchRule>>) -> Self
pub fn set_patch_rules(self, input: Option<Vec<PatchRule>>) -> Self
The rules that make up the rule group.
sourcepub fn build(self) -> PatchRuleGroup
pub fn build(self) -> PatchRuleGroup
Consumes the builder and constructs a PatchRuleGroup.
Trait Implementations§
source§impl Clone for PatchRuleGroupBuilder
impl Clone for PatchRuleGroupBuilder
source§fn clone(&self) -> PatchRuleGroupBuilder
fn clone(&self) -> PatchRuleGroupBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PatchRuleGroupBuilder
impl Debug for PatchRuleGroupBuilder
source§impl Default for PatchRuleGroupBuilder
impl Default for PatchRuleGroupBuilder
source§fn default() -> PatchRuleGroupBuilder
fn default() -> PatchRuleGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PatchRuleGroupBuilder> for PatchRuleGroupBuilder
impl PartialEq<PatchRuleGroupBuilder> for PatchRuleGroupBuilder
source§fn eq(&self, other: &PatchRuleGroupBuilder) -> bool
fn eq(&self, other: &PatchRuleGroupBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.