Struct aws_sdk_ssm::types::builders::TargetLocationBuilder
source · #[non_exhaustive]pub struct TargetLocationBuilder { /* private fields */ }
Expand description
A builder for TargetLocation
.
Implementations§
source§impl TargetLocationBuilder
impl TargetLocationBuilder
sourcepub fn accounts(self, input: impl Into<String>) -> Self
pub fn accounts(self, input: impl Into<String>) -> Self
Appends an item to accounts
.
To override the contents of this collection use set_accounts
.
The Amazon Web Services accounts targeted by the current Automation execution.
sourcepub fn set_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_accounts(self, input: Option<Vec<String>>) -> Self
The Amazon Web Services accounts targeted by the current Automation execution.
sourcepub fn get_accounts(&self) -> &Option<Vec<String>>
pub fn get_accounts(&self) -> &Option<Vec<String>>
The Amazon Web Services accounts targeted by the current Automation execution.
sourcepub fn regions(self, input: impl Into<String>) -> Self
pub fn regions(self, input: impl Into<String>) -> Self
Appends an item to regions
.
To override the contents of this collection use set_regions
.
The Amazon Web Services Regions targeted by the current Automation execution.
sourcepub fn set_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_regions(self, input: Option<Vec<String>>) -> Self
The Amazon Web Services Regions targeted by the current Automation execution.
sourcepub fn get_regions(&self) -> &Option<Vec<String>>
pub fn get_regions(&self) -> &Option<Vec<String>>
The Amazon Web Services Regions targeted by the current Automation execution.
sourcepub fn target_location_max_concurrency(self, input: impl Into<String>) -> Self
pub fn target_location_max_concurrency(self, input: impl Into<String>) -> Self
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.
sourcepub fn set_target_location_max_concurrency(self, input: Option<String>) -> Self
pub fn set_target_location_max_concurrency(self, input: Option<String>) -> Self
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.
sourcepub fn get_target_location_max_concurrency(&self) -> &Option<String>
pub fn get_target_location_max_concurrency(&self) -> &Option<String>
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.
sourcepub fn target_location_max_errors(self, input: impl Into<String>) -> Self
pub fn target_location_max_errors(self, input: impl Into<String>) -> Self
The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
sourcepub fn set_target_location_max_errors(self, input: Option<String>) -> Self
pub fn set_target_location_max_errors(self, input: Option<String>) -> Self
The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
sourcepub fn get_target_location_max_errors(&self) -> &Option<String>
pub fn get_target_location_max_errors(&self) -> &Option<String>
The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
sourcepub fn execution_role_name(self, input: impl Into<String>) -> Self
pub fn execution_role_name(self, input: impl Into<String>) -> Self
The Automation execution role used by the currently running Automation. If not specified, the default value is AWS-SystemsManager-AutomationExecutionRole
.
sourcepub fn set_execution_role_name(self, input: Option<String>) -> Self
pub fn set_execution_role_name(self, input: Option<String>) -> Self
The Automation execution role used by the currently running Automation. If not specified, the default value is AWS-SystemsManager-AutomationExecutionRole
.
sourcepub fn get_execution_role_name(&self) -> &Option<String>
pub fn get_execution_role_name(&self) -> &Option<String>
The Automation execution role used by the currently running Automation. If not specified, the default value is AWS-SystemsManager-AutomationExecutionRole
.
sourcepub fn target_location_alarm_configuration(
self,
input: AlarmConfiguration
) -> Self
pub fn target_location_alarm_configuration( self, input: AlarmConfiguration ) -> Self
The details for the CloudWatch alarm you want to apply to an automation or command.
sourcepub fn set_target_location_alarm_configuration(
self,
input: Option<AlarmConfiguration>
) -> Self
pub fn set_target_location_alarm_configuration( self, input: Option<AlarmConfiguration> ) -> Self
The details for the CloudWatch alarm you want to apply to an automation or command.
sourcepub fn get_target_location_alarm_configuration(
&self
) -> &Option<AlarmConfiguration>
pub fn get_target_location_alarm_configuration( &self ) -> &Option<AlarmConfiguration>
The details for the CloudWatch alarm you want to apply to an automation or command.
sourcepub fn build(self) -> TargetLocation
pub fn build(self) -> TargetLocation
Consumes the builder and constructs a TargetLocation
.
Trait Implementations§
source§impl Clone for TargetLocationBuilder
impl Clone for TargetLocationBuilder
source§fn clone(&self) -> TargetLocationBuilder
fn clone(&self) -> TargetLocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetLocationBuilder
impl Debug for TargetLocationBuilder
source§impl Default for TargetLocationBuilder
impl Default for TargetLocationBuilder
source§fn default() -> TargetLocationBuilder
fn default() -> TargetLocationBuilder
source§impl PartialEq for TargetLocationBuilder
impl PartialEq for TargetLocationBuilder
source§fn eq(&self, other: &TargetLocationBuilder) -> bool
fn eq(&self, other: &TargetLocationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TargetLocationBuilder
Auto Trait Implementations§
impl Freeze for TargetLocationBuilder
impl RefUnwindSafe for TargetLocationBuilder
impl Send for TargetLocationBuilder
impl Sync for TargetLocationBuilder
impl Unpin for TargetLocationBuilder
impl UnwindSafe for TargetLocationBuilder
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> 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