Struct aws_sdk_config::types::builders::SsmControlsBuilder
source · #[non_exhaustive]pub struct SsmControlsBuilder { /* private fields */ }Expand description
A builder for SsmControls.
Implementations§
source§impl SsmControlsBuilder
impl SsmControlsBuilder
sourcepub fn concurrent_execution_rate_percentage(self, input: i32) -> Self
pub fn concurrent_execution_rate_percentage(self, input: i32) -> Self
The maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. You can specify a percentage, such as 10%. The default value is 10.
sourcepub fn set_concurrent_execution_rate_percentage(
self,
input: Option<i32>
) -> Self
pub fn set_concurrent_execution_rate_percentage( self, input: Option<i32> ) -> Self
The maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. You can specify a percentage, such as 10%. The default value is 10.
sourcepub fn get_concurrent_execution_rate_percentage(&self) -> &Option<i32>
pub fn get_concurrent_execution_rate_percentage(&self) -> &Option<i32>
The maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. You can specify a percentage, such as 10%. The default value is 10.
sourcepub fn error_percentage(self, input: i32) -> Self
pub fn error_percentage(self, input: i32) -> Self
The percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. You can specify a percentage of errors, for example 10%. If you do not specifiy a percentage, the default is 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant resources, then SSM stops running the automations when the fifth error is received.
sourcepub fn set_error_percentage(self, input: Option<i32>) -> Self
pub fn set_error_percentage(self, input: Option<i32>) -> Self
The percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. You can specify a percentage of errors, for example 10%. If you do not specifiy a percentage, the default is 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant resources, then SSM stops running the automations when the fifth error is received.
sourcepub fn get_error_percentage(&self) -> &Option<i32>
pub fn get_error_percentage(&self) -> &Option<i32>
The percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. You can specify a percentage of errors, for example 10%. If you do not specifiy a percentage, the default is 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant resources, then SSM stops running the automations when the fifth error is received.
sourcepub fn build(self) -> SsmControls
pub fn build(self) -> SsmControls
Consumes the builder and constructs a SsmControls.
Trait Implementations§
source§impl Clone for SsmControlsBuilder
impl Clone for SsmControlsBuilder
source§fn clone(&self) -> SsmControlsBuilder
fn clone(&self) -> SsmControlsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SsmControlsBuilder
impl Debug for SsmControlsBuilder
source§impl Default for SsmControlsBuilder
impl Default for SsmControlsBuilder
source§fn default() -> SsmControlsBuilder
fn default() -> SsmControlsBuilder
source§impl PartialEq for SsmControlsBuilder
impl PartialEq for SsmControlsBuilder
source§fn eq(&self, other: &SsmControlsBuilder) -> bool
fn eq(&self, other: &SsmControlsBuilder) -> bool
self and other values to be equal, and is used
by ==.