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 ==.impl StructuralPartialEq for SsmControlsBuilder
Auto Trait Implementations§
impl Freeze for SsmControlsBuilder
impl RefUnwindSafe for SsmControlsBuilder
impl Send for SsmControlsBuilder
impl Sync for SsmControlsBuilder
impl Unpin for SsmControlsBuilder
impl UnwindSafe for SsmControlsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more