Struct aws_sdk_ssm::types::builders::AssociationExecutionBuilder
source · #[non_exhaustive]pub struct AssociationExecutionBuilder { /* private fields */ }
Expand description
A builder for AssociationExecution
.
Implementations§
source§impl AssociationExecutionBuilder
impl AssociationExecutionBuilder
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The association ID.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The association ID.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The association ID.
sourcepub fn association_version(self, input: impl Into<String>) -> Self
pub fn association_version(self, input: impl Into<String>) -> Self
The association version.
sourcepub fn set_association_version(self, input: Option<String>) -> Self
pub fn set_association_version(self, input: Option<String>) -> Self
The association version.
sourcepub fn get_association_version(&self) -> &Option<String>
pub fn get_association_version(&self) -> &Option<String>
The association version.
sourcepub fn execution_id(self, input: impl Into<String>) -> Self
pub fn execution_id(self, input: impl Into<String>) -> Self
The execution ID for the association.
sourcepub fn set_execution_id(self, input: Option<String>) -> Self
pub fn set_execution_id(self, input: Option<String>) -> Self
The execution ID for the association.
sourcepub fn get_execution_id(&self) -> &Option<String>
pub fn get_execution_id(&self) -> &Option<String>
The execution ID for the association.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the association execution.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the association execution.
sourcepub fn detailed_status(self, input: impl Into<String>) -> Self
pub fn detailed_status(self, input: impl Into<String>) -> Self
Detailed status information about the execution.
sourcepub fn set_detailed_status(self, input: Option<String>) -> Self
pub fn set_detailed_status(self, input: Option<String>) -> Self
Detailed status information about the execution.
sourcepub fn get_detailed_status(&self) -> &Option<String>
pub fn get_detailed_status(&self) -> &Option<String>
Detailed status information about the execution.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The time the execution started.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The time the execution started.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The time the execution started.
sourcepub fn last_execution_date(self, input: DateTime) -> Self
pub fn last_execution_date(self, input: DateTime) -> Self
The date of the last execution.
sourcepub fn set_last_execution_date(self, input: Option<DateTime>) -> Self
pub fn set_last_execution_date(self, input: Option<DateTime>) -> Self
The date of the last execution.
sourcepub fn get_last_execution_date(&self) -> &Option<DateTime>
pub fn get_last_execution_date(&self) -> &Option<DateTime>
The date of the last execution.
sourcepub fn resource_count_by_status(self, input: impl Into<String>) -> Self
pub fn resource_count_by_status(self, input: impl Into<String>) -> Self
An aggregate status of the resources in the execution based on the status type.
sourcepub fn set_resource_count_by_status(self, input: Option<String>) -> Self
pub fn set_resource_count_by_status(self, input: Option<String>) -> Self
An aggregate status of the resources in the execution based on the status type.
sourcepub fn get_resource_count_by_status(&self) -> &Option<String>
pub fn get_resource_count_by_status(&self) -> &Option<String>
An aggregate status of the resources in the execution based on the status type.
sourcepub fn alarm_configuration(self, input: AlarmConfiguration) -> Self
pub fn alarm_configuration(self, input: AlarmConfiguration) -> Self
The details for the CloudWatch alarm you want to apply to an automation or command.
sourcepub fn set_alarm_configuration(self, input: Option<AlarmConfiguration>) -> Self
pub fn set_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_alarm_configuration(&self) -> &Option<AlarmConfiguration>
pub fn get_alarm_configuration(&self) -> &Option<AlarmConfiguration>
The details for the CloudWatch alarm you want to apply to an automation or command.
sourcepub fn triggered_alarms(self, input: AlarmStateInformation) -> Self
pub fn triggered_alarms(self, input: AlarmStateInformation) -> Self
Appends an item to triggered_alarms
.
To override the contents of this collection use set_triggered_alarms
.
The CloudWatch alarms that were invoked by the association.
sourcepub fn set_triggered_alarms(
self,
input: Option<Vec<AlarmStateInformation>>
) -> Self
pub fn set_triggered_alarms( self, input: Option<Vec<AlarmStateInformation>> ) -> Self
The CloudWatch alarms that were invoked by the association.
sourcepub fn get_triggered_alarms(&self) -> &Option<Vec<AlarmStateInformation>>
pub fn get_triggered_alarms(&self) -> &Option<Vec<AlarmStateInformation>>
The CloudWatch alarms that were invoked by the association.
sourcepub fn build(self) -> AssociationExecution
pub fn build(self) -> AssociationExecution
Consumes the builder and constructs a AssociationExecution
.
Trait Implementations§
source§impl Clone for AssociationExecutionBuilder
impl Clone for AssociationExecutionBuilder
source§fn clone(&self) -> AssociationExecutionBuilder
fn clone(&self) -> AssociationExecutionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssociationExecutionBuilder
impl Debug for AssociationExecutionBuilder
source§impl Default for AssociationExecutionBuilder
impl Default for AssociationExecutionBuilder
source§fn default() -> AssociationExecutionBuilder
fn default() -> AssociationExecutionBuilder
source§impl PartialEq for AssociationExecutionBuilder
impl PartialEq for AssociationExecutionBuilder
source§fn eq(&self, other: &AssociationExecutionBuilder) -> bool
fn eq(&self, other: &AssociationExecutionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.