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 ==
.