Struct aws_sdk_ssm::operation::get_maintenance_window_execution_task::builders::GetMaintenanceWindowExecutionTaskOutputBuilder
source · #[non_exhaustive]pub struct GetMaintenanceWindowExecutionTaskOutputBuilder { /* private fields */ }
Expand description
A builder for GetMaintenanceWindowExecutionTaskOutput
.
Implementations§
source§impl GetMaintenanceWindowExecutionTaskOutputBuilder
impl GetMaintenanceWindowExecutionTaskOutputBuilder
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 includes 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 includes 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 task that was retrieved.
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 task that was retrieved.
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 service_role(self, input: impl Into<String>) -> Self
pub fn service_role(self, input: impl Into<String>) -> Self
The role that was assumed when running the task.
sourcepub fn set_service_role(self, input: Option<String>) -> Self
pub fn set_service_role(self, input: Option<String>) -> Self
The role that was assumed when running the task.
sourcepub fn type(self, input: MaintenanceWindowTaskType) -> Self
pub fn type(self, input: MaintenanceWindowTaskType) -> Self
The type of task that was run.
sourcepub fn set_type(self, input: Option<MaintenanceWindowTaskType>) -> Self
pub fn set_type(self, input: Option<MaintenanceWindowTaskType>) -> Self
The type of task that was run.
sourcepub fn task_parameters(
self,
input: HashMap<String, MaintenanceWindowTaskParameterValueExpression>
) -> Self
pub fn task_parameters( self, input: HashMap<String, MaintenanceWindowTaskParameterValueExpression> ) -> Self
Appends an item to task_parameters
.
To override the contents of this collection use set_task_parameters
.
The parameters passed to the task when it was run.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters
option in the TaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
The map has the following format:
-
Key
: string, between 1 and 255 characters -
Value
: an array of strings, each between 1 and 255 characters
sourcepub fn set_task_parameters(
self,
input: Option<Vec<HashMap<String, MaintenanceWindowTaskParameterValueExpression>>>
) -> Self
pub fn set_task_parameters( self, input: Option<Vec<HashMap<String, MaintenanceWindowTaskParameterValueExpression>>> ) -> Self
The parameters passed to the task when it was run.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters
option in the TaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
The map has the following format:
-
Key
: string, between 1 and 255 characters -
Value
: an array of strings, each between 1 and 255 characters
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The priority of the task.
sourcepub fn max_concurrency(self, input: impl Into<String>) -> Self
pub fn max_concurrency(self, input: impl Into<String>) -> Self
The defined maximum number of task executions that could be run in parallel.
sourcepub fn set_max_concurrency(self, input: Option<String>) -> Self
pub fn set_max_concurrency(self, input: Option<String>) -> Self
The defined maximum number of task executions that could be run in parallel.
sourcepub fn max_errors(self, input: impl Into<String>) -> Self
pub fn max_errors(self, input: impl Into<String>) -> Self
The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.
sourcepub fn set_max_errors(self, input: Option<String>) -> Self
pub fn set_max_errors(self, input: Option<String>) -> Self
The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.
sourcepub fn status(self, input: MaintenanceWindowExecutionStatus) -> Self
pub fn status(self, input: MaintenanceWindowExecutionStatus) -> Self
The status of the task.
sourcepub fn set_status(self, input: Option<MaintenanceWindowExecutionStatus>) -> Self
pub fn set_status(self, input: Option<MaintenanceWindowExecutionStatus>) -> Self
The status of the task.
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. 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. 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 set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time the task execution completed.
sourcepub fn alarm_configuration(self, input: AlarmConfiguration) -> Self
pub fn alarm_configuration(self, input: AlarmConfiguration) -> Self
The details for the CloudWatch alarm you 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 you 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 alarms that were 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 alarms that were invoked by the maintenance window task.
sourcepub fn build(self) -> GetMaintenanceWindowExecutionTaskOutput
pub fn build(self) -> GetMaintenanceWindowExecutionTaskOutput
Consumes the builder and constructs a GetMaintenanceWindowExecutionTaskOutput
.
Trait Implementations§
source§impl Clone for GetMaintenanceWindowExecutionTaskOutputBuilder
impl Clone for GetMaintenanceWindowExecutionTaskOutputBuilder
source§fn clone(&self) -> GetMaintenanceWindowExecutionTaskOutputBuilder
fn clone(&self) -> GetMaintenanceWindowExecutionTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetMaintenanceWindowExecutionTaskOutputBuilder
impl Default for GetMaintenanceWindowExecutionTaskOutputBuilder
source§fn default() -> GetMaintenanceWindowExecutionTaskOutputBuilder
fn default() -> GetMaintenanceWindowExecutionTaskOutputBuilder
source§impl PartialEq<GetMaintenanceWindowExecutionTaskOutputBuilder> for GetMaintenanceWindowExecutionTaskOutputBuilder
impl PartialEq<GetMaintenanceWindowExecutionTaskOutputBuilder> for GetMaintenanceWindowExecutionTaskOutputBuilder
source§fn eq(&self, other: &GetMaintenanceWindowExecutionTaskOutputBuilder) -> bool
fn eq(&self, other: &GetMaintenanceWindowExecutionTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.