public static interface GetMaintenanceWindowExecutionTaskResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetMaintenanceWindowExecutionTaskResponse.Builder,GetMaintenanceWindowExecutionTaskResponse>
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetMaintenanceWindowExecutionTaskResponse.Builder windowExecutionId(String windowExecutionId)
The ID of the maintenance window execution that includes the task.
windowExecutionId - The ID of the maintenance window execution that includes the task.GetMaintenanceWindowExecutionTaskResponse.Builder taskExecutionId(String taskExecutionId)
The ID of the specific task execution in the maintenance window task that was retrieved.
taskExecutionId - The ID of the specific task execution in the maintenance window task that was retrieved.GetMaintenanceWindowExecutionTaskResponse.Builder taskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that ran.
taskArn - The Amazon Resource Name (ARN) of the task that ran.GetMaintenanceWindowExecutionTaskResponse.Builder serviceRole(String serviceRole)
The role that was assumed when running the task.
serviceRole - The role that was assumed when running the task.GetMaintenanceWindowExecutionTaskResponse.Builder type(String type)
The type of task that was run.
type - The type of task that was run.MaintenanceWindowTaskType,
MaintenanceWindowTaskTypeGetMaintenanceWindowExecutionTaskResponse.Builder type(MaintenanceWindowTaskType type)
The type of task that was run.
type - The type of task that was run.MaintenanceWindowTaskType,
MaintenanceWindowTaskTypeGetMaintenanceWindowExecutionTaskResponse.Builder taskParameters(Collection<? extends Map<String,MaintenanceWindowTaskParameterValueExpression>> taskParameters)
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
taskParameters - 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
GetMaintenanceWindowExecutionTaskResponse.Builder taskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression>... taskParameters)
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
taskParameters - 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
GetMaintenanceWindowExecutionTaskResponse.Builder priority(Integer priority)
The priority of the task.
priority - The priority of the task.GetMaintenanceWindowExecutionTaskResponse.Builder maxConcurrency(String maxConcurrency)
The defined maximum number of task executions that could be run in parallel.
maxConcurrency - The defined maximum number of task executions that could be run in parallel.GetMaintenanceWindowExecutionTaskResponse.Builder maxErrors(String maxErrors)
The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.
maxErrors - The defined maximum number of task execution errors allowed before scheduling of the task execution
would have been stopped.GetMaintenanceWindowExecutionTaskResponse.Builder status(String status)
The status of the task.
status - The status of the task.MaintenanceWindowExecutionStatus,
MaintenanceWindowExecutionStatusGetMaintenanceWindowExecutionTaskResponse.Builder status(MaintenanceWindowExecutionStatus status)
The status of the task.
status - The status of the task.MaintenanceWindowExecutionStatus,
MaintenanceWindowExecutionStatusGetMaintenanceWindowExecutionTaskResponse.Builder statusDetails(String statusDetails)
The details explaining the status. Not available for all status values.
statusDetails - The details explaining the status. Not available for all status values.GetMaintenanceWindowExecutionTaskResponse.Builder startTime(Instant startTime)
The time the task execution started.
startTime - The time the task execution started.GetMaintenanceWindowExecutionTaskResponse.Builder endTime(Instant endTime)
The time the task execution completed.
endTime - The time the task execution completed.GetMaintenanceWindowExecutionTaskResponse.Builder alarmConfiguration(AlarmConfiguration alarmConfiguration)
The details for the CloudWatch alarm you applied to your maintenance window task.
alarmConfiguration - The details for the CloudWatch alarm you applied to your maintenance window task.default GetMaintenanceWindowExecutionTaskResponse.Builder alarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration)
The details for the CloudWatch alarm you 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 via AlarmConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to alarmConfiguration(AlarmConfiguration).
alarmConfiguration - a consumer that will call methods on AlarmConfiguration.BuilderalarmConfiguration(AlarmConfiguration)GetMaintenanceWindowExecutionTaskResponse.Builder triggeredAlarms(Collection<AlarmStateInformation> triggeredAlarms)
The CloudWatch alarms that were invoked by the maintenance window task.
triggeredAlarms - The CloudWatch alarms that were invoked by the maintenance window task.GetMaintenanceWindowExecutionTaskResponse.Builder triggeredAlarms(AlarmStateInformation... triggeredAlarms)
The CloudWatch alarms that were invoked by the maintenance window task.
triggeredAlarms - The CloudWatch alarms that were invoked by the maintenance window task.GetMaintenanceWindowExecutionTaskResponse.Builder triggeredAlarms(Consumer<AlarmStateInformation.Builder>... triggeredAlarms)
The CloudWatch alarms that were 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 via AlarmStateInformation.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #triggeredAlarms(List.
triggeredAlarms - a consumer that will call methods on
AlarmStateInformation.Builder#triggeredAlarms(java.util.Collection) Copyright © 2023. All rights reserved.