Interface MaintenanceWindowExecutionTaskIdentity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MaintenanceWindowExecutionTaskIdentity.Builder,
,MaintenanceWindowExecutionTaskIdentity> SdkBuilder<MaintenanceWindowExecutionTaskIdentity.Builder,
,MaintenanceWindowExecutionTaskIdentity> SdkPojo
- Enclosing class:
MaintenanceWindowExecutionTaskIdentity
-
Method Summary
Modifier and TypeMethodDescriptionalarmConfiguration
(Consumer<AlarmConfiguration.Builder> alarmConfiguration) The details for the CloudWatch alarm applied to your maintenance window task.alarmConfiguration
(AlarmConfiguration alarmConfiguration) The details for the CloudWatch alarm applied to your maintenance window task.The time the task execution finished.The time the task execution started.The status of the task execution.The status of the task execution.statusDetails
(String statusDetails) The details explaining the status of the task execution.The Amazon Resource Name (ARN) of the task that ran.taskExecutionId
(String taskExecutionId) The ID of the specific task execution in the maintenance window execution.The type of task that ran.taskType
(MaintenanceWindowTaskType taskType) The type of task that ran.triggeredAlarms
(Collection<AlarmStateInformation> triggeredAlarms) The CloudWatch alarm that was invoked by the maintenance window task.triggeredAlarms
(Consumer<AlarmStateInformation.Builder>... triggeredAlarms) The CloudWatch alarm that was invoked by the maintenance window task.triggeredAlarms
(AlarmStateInformation... triggeredAlarms) The CloudWatch alarm that was invoked by the maintenance window task.windowExecutionId
(String windowExecutionId) The ID of the maintenance window execution that ran the task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
windowExecutionId
The ID of the maintenance window execution that ran the task.
- Parameters:
windowExecutionId
- The ID of the maintenance window execution that ran the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskExecutionId
The ID of the specific task execution in the maintenance window execution.
- Parameters:
taskExecutionId
- The ID of the specific task execution in the maintenance window execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the task execution.
- Parameters:
status
- The status of the task execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the task execution.
- Parameters:
status
- The status of the task execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusDetails
The details explaining the status of the task execution. Not available for all status values.
- Parameters:
statusDetails
- The details explaining the status of the task execution. Not available for all status values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time the task execution started.
- Parameters:
startTime
- The time the task execution started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time the task execution finished.
- Parameters:
endTime
- The time the task execution finished.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskArn
The Amazon Resource Name (ARN) of the task that ran.
- Parameters:
taskArn
- The Amazon Resource Name (ARN) of the task that ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskType
The type of task that ran.
- Parameters:
taskType
- The type of task that ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskType
The type of task that ran.
- Parameters:
taskType
- The type of task that ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alarmConfiguration
MaintenanceWindowExecutionTaskIdentity.Builder alarmConfiguration(AlarmConfiguration alarmConfiguration) The details for the CloudWatch alarm applied to your maintenance window task.
- Parameters:
alarmConfiguration
- The details for the CloudWatch alarm applied to your maintenance window task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmConfiguration
default MaintenanceWindowExecutionTaskIdentity.Builder alarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration) The details for the CloudWatch alarm applied to your maintenance window task.
This is a convenience method that creates an instance of theAlarmConfiguration.Builder
avoiding the need to create one manually viaAlarmConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalarmConfiguration(AlarmConfiguration)
.- Parameters:
alarmConfiguration
- a consumer that will call methods onAlarmConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggeredAlarms
MaintenanceWindowExecutionTaskIdentity.Builder triggeredAlarms(Collection<AlarmStateInformation> triggeredAlarms) The CloudWatch alarm that was invoked by the maintenance window task.
- Parameters:
triggeredAlarms
- The CloudWatch alarm that was invoked by the maintenance window task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggeredAlarms
MaintenanceWindowExecutionTaskIdentity.Builder triggeredAlarms(AlarmStateInformation... triggeredAlarms) The CloudWatch alarm that was invoked by the maintenance window task.
- Parameters:
triggeredAlarms
- The CloudWatch alarm that was invoked by the maintenance window task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggeredAlarms
MaintenanceWindowExecutionTaskIdentity.Builder triggeredAlarms(Consumer<AlarmStateInformation.Builder>... triggeredAlarms) The CloudWatch alarm that was invoked by the maintenance window task.
This is a convenience method that creates an instance of theAlarmStateInformation.Builder
avoiding the need to create one manually viaAlarmStateInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totriggeredAlarms(List<AlarmStateInformation>)
.- Parameters:
triggeredAlarms
- a consumer that will call methods onAlarmStateInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-