#[non_exhaustive]pub struct MaintenanceWindowExecutionTaskIdentityBuilder { /* private fields */ }Expand description
A builder for MaintenanceWindowExecutionTaskIdentity.
Implementations§
source§impl MaintenanceWindowExecutionTaskIdentityBuilder
impl MaintenanceWindowExecutionTaskIdentityBuilder
sourcepub fn window_execution_id(self, input: impl Into<String>) -> Self
pub fn window_execution_id(self, input: impl Into<String>) -> Self
The ID of the maintenance window execution that ran the task.
sourcepub fn set_window_execution_id(self, input: Option<String>) -> Self
pub fn set_window_execution_id(self, input: Option<String>) -> Self
The ID of the maintenance window execution that ran the task.
sourcepub fn get_window_execution_id(&self) -> &Option<String>
pub fn get_window_execution_id(&self) -> &Option<String>
The ID of the maintenance window execution that ran the task.
sourcepub fn task_execution_id(self, input: impl Into<String>) -> Self
pub fn task_execution_id(self, input: impl Into<String>) -> Self
The ID of the specific task execution in the maintenance window execution.
sourcepub fn set_task_execution_id(self, input: Option<String>) -> Self
pub fn set_task_execution_id(self, input: Option<String>) -> Self
The ID of the specific task execution in the maintenance window execution.
sourcepub fn get_task_execution_id(&self) -> &Option<String>
pub fn get_task_execution_id(&self) -> &Option<String>
The ID of the specific task execution in the maintenance window execution.
sourcepub fn status(self, input: MaintenanceWindowExecutionStatus) -> Self
pub fn status(self, input: MaintenanceWindowExecutionStatus) -> Self
The status of the task execution.
sourcepub fn set_status(self, input: Option<MaintenanceWindowExecutionStatus>) -> Self
pub fn set_status(self, input: Option<MaintenanceWindowExecutionStatus>) -> Self
The status of the task execution.
sourcepub fn get_status(&self) -> &Option<MaintenanceWindowExecutionStatus>
pub fn get_status(&self) -> &Option<MaintenanceWindowExecutionStatus>
The status of the task execution.
sourcepub fn status_details(self, input: impl Into<String>) -> Self
pub fn status_details(self, input: impl Into<String>) -> Self
The details explaining the status of the task execution. Not available for all status values.
sourcepub fn set_status_details(self, input: Option<String>) -> Self
pub fn set_status_details(self, input: Option<String>) -> Self
The details explaining the status of the task execution. Not available for all status values.
sourcepub fn get_status_details(&self) -> &Option<String>
pub fn get_status_details(&self) -> &Option<String>
The details explaining the status of the task execution. Not available for all status values.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time the task execution started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time the task execution started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The time the task execution started.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time the task execution finished.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The time the task execution finished.
sourcepub fn task_arn(self, input: impl Into<String>) -> Self
pub fn task_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the task that ran.
sourcepub fn set_task_arn(self, input: Option<String>) -> Self
pub fn set_task_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the task that ran.
sourcepub fn get_task_arn(&self) -> &Option<String>
pub fn get_task_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the task that ran.
sourcepub fn task_type(self, input: MaintenanceWindowTaskType) -> Self
pub fn task_type(self, input: MaintenanceWindowTaskType) -> Self
The type of task that ran.
sourcepub fn set_task_type(self, input: Option<MaintenanceWindowTaskType>) -> Self
pub fn set_task_type(self, input: Option<MaintenanceWindowTaskType>) -> Self
The type of task that ran.
sourcepub fn get_task_type(&self) -> &Option<MaintenanceWindowTaskType>
pub fn get_task_type(&self) -> &Option<MaintenanceWindowTaskType>
The type of task that ran.
sourcepub fn alarm_configuration(self, input: AlarmConfiguration) -> Self
pub fn alarm_configuration(self, input: AlarmConfiguration) -> Self
The details for the CloudWatch alarm applied to your maintenance window task.
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 applied to your maintenance window task.
sourcepub fn get_alarm_configuration(&self) -> &Option<AlarmConfiguration>
pub fn get_alarm_configuration(&self) -> &Option<AlarmConfiguration>
The details for the CloudWatch alarm applied to your maintenance window task.
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 alarm that was invoked by the maintenance window task.
sourcepub fn set_triggered_alarms(
self,
input: Option<Vec<AlarmStateInformation>>,
) -> Self
pub fn set_triggered_alarms( self, input: Option<Vec<AlarmStateInformation>>, ) -> Self
The CloudWatch alarm that was invoked by the maintenance window task.
sourcepub fn get_triggered_alarms(&self) -> &Option<Vec<AlarmStateInformation>>
pub fn get_triggered_alarms(&self) -> &Option<Vec<AlarmStateInformation>>
The CloudWatch alarm that was invoked by the maintenance window task.
sourcepub fn build(self) -> MaintenanceWindowExecutionTaskIdentity
pub fn build(self) -> MaintenanceWindowExecutionTaskIdentity
Consumes the builder and constructs a MaintenanceWindowExecutionTaskIdentity.
Trait Implementations§
source§impl Clone for MaintenanceWindowExecutionTaskIdentityBuilder
impl Clone for MaintenanceWindowExecutionTaskIdentityBuilder
source§fn clone(&self) -> MaintenanceWindowExecutionTaskIdentityBuilder
fn clone(&self) -> MaintenanceWindowExecutionTaskIdentityBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for MaintenanceWindowExecutionTaskIdentityBuilder
impl Default for MaintenanceWindowExecutionTaskIdentityBuilder
source§fn default() -> MaintenanceWindowExecutionTaskIdentityBuilder
fn default() -> MaintenanceWindowExecutionTaskIdentityBuilder
source§impl PartialEq for MaintenanceWindowExecutionTaskIdentityBuilder
impl PartialEq for MaintenanceWindowExecutionTaskIdentityBuilder
source§fn eq(&self, other: &MaintenanceWindowExecutionTaskIdentityBuilder) -> bool
fn eq(&self, other: &MaintenanceWindowExecutionTaskIdentityBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaintenanceWindowExecutionTaskIdentityBuilder
Auto Trait Implementations§
impl Freeze for MaintenanceWindowExecutionTaskIdentityBuilder
impl RefUnwindSafe for MaintenanceWindowExecutionTaskIdentityBuilder
impl Send for MaintenanceWindowExecutionTaskIdentityBuilder
impl Sync for MaintenanceWindowExecutionTaskIdentityBuilder
impl Unpin for MaintenanceWindowExecutionTaskIdentityBuilder
impl UnwindSafe for MaintenanceWindowExecutionTaskIdentityBuilder
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