Interface MaintenanceWindowExecutionTaskIdentity.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MaintenanceWindowExecutionTaskIdentity.Builder,MaintenanceWindowExecutionTaskIdentity>
,SdkBuilder<MaintenanceWindowExecutionTaskIdentity.Builder,MaintenanceWindowExecutionTaskIdentity>
,SdkPojo
- Enclosing class:
- MaintenanceWindowExecutionTaskIdentity
@Mutable @NotThreadSafe public static interface MaintenanceWindowExecutionTaskIdentity.Builder extends SdkPojo, CopyableBuilder<MaintenanceWindowExecutionTaskIdentity.Builder,MaintenanceWindowExecutionTaskIdentity>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
windowExecutionId
MaintenanceWindowExecutionTaskIdentity.Builder windowExecutionId(String 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
MaintenanceWindowExecutionTaskIdentity.Builder taskExecutionId(String 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
MaintenanceWindowExecutionTaskIdentity.Builder status(String 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:
MaintenanceWindowExecutionStatus
,MaintenanceWindowExecutionStatus
-
status
MaintenanceWindowExecutionTaskIdentity.Builder status(MaintenanceWindowExecutionStatus 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:
MaintenanceWindowExecutionStatus
,MaintenanceWindowExecutionStatus
-
statusDetails
MaintenanceWindowExecutionTaskIdentity.Builder statusDetails(String 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
MaintenanceWindowExecutionTaskIdentity.Builder startTime(Instant 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
MaintenanceWindowExecutionTaskIdentity.Builder endTime(Instant 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
MaintenanceWindowExecutionTaskIdentity.Builder taskArn(String 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
MaintenanceWindowExecutionTaskIdentity.Builder taskType(String 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:
MaintenanceWindowTaskType
,MaintenanceWindowTaskType
-
taskType
MaintenanceWindowExecutionTaskIdentity.Builder taskType(MaintenanceWindowTaskType 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:
MaintenanceWindowTaskType
,MaintenanceWindowTaskType
-
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:
alarmConfiguration(AlarmConfiguration)
-
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 to#triggeredAlarms(List
.) - 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:
#triggeredAlarms(java.util.Collection
)
-
-