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
impl StructuralPartialEq for AssociationExecutionBuilder
Auto Trait Implementations§
impl Freeze for AssociationExecutionBuilder
impl RefUnwindSafe for AssociationExecutionBuilder
impl Send for AssociationExecutionBuilder
impl Sync for AssociationExecutionBuilder
impl Unpin for AssociationExecutionBuilder
impl UnwindSafe for AssociationExecutionBuilder
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