Interface UpdateMaintenanceWindowTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateMaintenanceWindowTaskResponse.Builder,
,UpdateMaintenanceWindowTaskResponse> SdkBuilder<UpdateMaintenanceWindowTaskResponse.Builder,
,UpdateMaintenanceWindowTaskResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
UpdateMaintenanceWindowTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionalarmConfiguration
(Consumer<AlarmConfiguration.Builder> alarmConfiguration) The details for the CloudWatch alarm you applied to your maintenance window task.alarmConfiguration
(AlarmConfiguration alarmConfiguration) The details for the CloudWatch alarm you applied to your maintenance window task.cutoffBehavior
(String cutoffBehavior) The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.cutoffBehavior
(MaintenanceWindowTaskCutoffBehavior cutoffBehavior) The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.description
(String description) The updated task description.loggingInfo
(Consumer<LoggingInfo.Builder> loggingInfo) The updated logging information in Amazon S3.loggingInfo
(LoggingInfo loggingInfo) The updated logging information in Amazon S3.maxConcurrency
(String maxConcurrency) The updatedMaxConcurrency
value.The updatedMaxErrors
value.The updated task name.The updated priority value.serviceRoleArn
(String serviceRoleArn) The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.targets
(Collection<Target> targets) The updated target values.targets
(Consumer<Target.Builder>... targets) The updated target values.The updated target values.The updated task ARN value.taskInvocationParameters
(Consumer<MaintenanceWindowTaskInvocationParameters.Builder> taskInvocationParameters) The updated parameter values.taskInvocationParameters
(MaintenanceWindowTaskInvocationParameters taskInvocationParameters) The updated parameter values.taskParameters
(Map<String, MaintenanceWindowTaskParameterValueExpression> taskParameters) The updated parameter values.The ID of the maintenance window that was updated.windowTaskId
(String windowTaskId) The task ID of the maintenance window that was updated.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
windowId
The ID of the maintenance window that was updated.
- Parameters:
windowId
- The ID of the maintenance window that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowTaskId
The task ID of the maintenance window that was updated.
- Parameters:
windowTaskId
- The task ID of the maintenance window that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The updated target values.
- Parameters:
targets
- The updated target values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The updated target values.
- Parameters:
targets
- The updated target values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The updated target values.
This is a convenience method that creates an instance of theTarget.Builder
avoiding the need to create one manually viaTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(List<Target>)
.- Parameters:
targets
- a consumer that will call methods onTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskArn
The updated task ARN value.
- Parameters:
taskArn
- The updated task ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRoleArn
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
- Parameters:
serviceRoleArn
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskParameters
UpdateMaintenanceWindowTaskResponse.Builder taskParameters(Map<String, MaintenanceWindowTaskParameterValueExpression> taskParameters) The updated parameter values.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use theParameters
option in theTaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.- Parameters:
taskParameters
- The updated parameter values.TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use theParameters
option in theTaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskInvocationParameters
UpdateMaintenanceWindowTaskResponse.Builder taskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters) The updated parameter values.
- Parameters:
taskInvocationParameters
- The updated parameter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskInvocationParameters
default UpdateMaintenanceWindowTaskResponse.Builder taskInvocationParameters(Consumer<MaintenanceWindowTaskInvocationParameters.Builder> taskInvocationParameters) The updated parameter values.
This is a convenience method that creates an instance of theMaintenanceWindowTaskInvocationParameters.Builder
avoiding the need to create one manually viaMaintenanceWindowTaskInvocationParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskInvocationParameters(MaintenanceWindowTaskInvocationParameters)
.- Parameters:
taskInvocationParameters
- a consumer that will call methods onMaintenanceWindowTaskInvocationParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The updated priority value.
- Parameters:
priority
- The updated priority value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxConcurrency
The updated
MaxConcurrency
value.- Parameters:
maxConcurrency
- The updatedMaxConcurrency
value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxErrors
The updated
MaxErrors
value.- Parameters:
maxErrors
- The updatedMaxErrors
value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingInfo
The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use theOutputS3BucketName
andOutputS3KeyPrefix
options in theTaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.- Parameters:
loggingInfo
- The updated logging information in Amazon S3.LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use theOutputS3BucketName
andOutputS3KeyPrefix
options in theTaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingInfo
default UpdateMaintenanceWindowTaskResponse.Builder loggingInfo(Consumer<LoggingInfo.Builder> loggingInfo) The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use theOutputS3BucketName
andOutputS3KeyPrefix
options in theTaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.LoggingInfo.Builder
avoiding the need to create one manually viaLoggingInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingInfo(LoggingInfo)
.- Parameters:
loggingInfo
- a consumer that will call methods onLoggingInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The updated task name.
- Parameters:
name
- The updated task name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated task description.
- Parameters:
description
- The updated task description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cutoffBehavior
The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
- Parameters:
cutoffBehavior
- The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cutoffBehavior
UpdateMaintenanceWindowTaskResponse.Builder cutoffBehavior(MaintenanceWindowTaskCutoffBehavior cutoffBehavior) The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
- Parameters:
cutoffBehavior
- The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alarmConfiguration
UpdateMaintenanceWindowTaskResponse.Builder alarmConfiguration(AlarmConfiguration alarmConfiguration) The details for the CloudWatch alarm you applied to your maintenance window task.
- Parameters:
alarmConfiguration
- The details for the CloudWatch alarm you applied to your maintenance window task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmConfiguration
default UpdateMaintenanceWindowTaskResponse.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 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:
-