public static interface UpdateMaintenanceWindowTaskResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdateMaintenanceWindowTaskResponse.Builder,UpdateMaintenanceWindowTaskResponse>
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateMaintenanceWindowTaskResponse.Builder windowId(String windowId)
The ID of the maintenance window that was updated.
windowId
- The ID of the maintenance window that was updated.UpdateMaintenanceWindowTaskResponse.Builder windowTaskId(String windowTaskId)
The task ID of the maintenance window that was updated.
windowTaskId
- The task ID of the maintenance window that was updated.UpdateMaintenanceWindowTaskResponse.Builder targets(Collection<Target> targets)
The updated target values.
targets
- The updated target values.UpdateMaintenanceWindowTaskResponse.Builder targets(Target... targets)
The updated target values.
targets
- The updated target values.UpdateMaintenanceWindowTaskResponse.Builder targets(Consumer<Target.Builder>... targets)
The updated target values.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #targets(List)
.targets
- a consumer that will call methods on List.Builder
#targets(List)
UpdateMaintenanceWindowTaskResponse.Builder taskArn(String taskArn)
The updated task ARN value.
taskArn
- The updated task ARN value.UpdateMaintenanceWindowTaskResponse.Builder serviceRoleArn(String serviceRoleArn)
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
serviceRoleArn
- The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS)
notifications for maintenance window Run Command tasks.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 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.
taskParameters
- The updated parameter values.
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.
UpdateMaintenanceWindowTaskResponse.Builder taskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The updated parameter values.
taskInvocationParameters
- The updated parameter values.default UpdateMaintenanceWindowTaskResponse.Builder taskInvocationParameters(Consumer<MaintenanceWindowTaskInvocationParameters.Builder> taskInvocationParameters)
The updated parameter values.
This is a convenience that creates an instance of theMaintenanceWindowTaskInvocationParameters.Builder
avoiding the need to create one manually via
MaintenanceWindowTaskInvocationParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to
taskInvocationParameters(MaintenanceWindowTaskInvocationParameters)
.taskInvocationParameters
- a consumer that will call methods on MaintenanceWindowTaskInvocationParameters.Builder
taskInvocationParameters(MaintenanceWindowTaskInvocationParameters)
UpdateMaintenanceWindowTaskResponse.Builder priority(Integer priority)
The updated priority value.
priority
- The updated priority value.UpdateMaintenanceWindowTaskResponse.Builder maxConcurrency(String maxConcurrency)
The updated MaxConcurrency value.
maxConcurrency
- The updated MaxConcurrency value.UpdateMaintenanceWindowTaskResponse.Builder maxErrors(String maxErrors)
The updated MaxErrors value.
maxErrors
- The updated MaxErrors value.UpdateMaintenanceWindowTaskResponse.Builder loggingInfo(LoggingInfo loggingInfo)
The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these
options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
loggingInfo
- The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles
these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
default UpdateMaintenanceWindowTaskResponse.Builder loggingInfo(Consumer<LoggingInfo.Builder> loggingInfo)
The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these
options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
LoggingInfo.Builder
avoiding the need
to create one manually via LoggingInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to loggingInfo(LoggingInfo)
.loggingInfo
- a consumer that will call methods on LoggingInfo.Builder
loggingInfo(LoggingInfo)
UpdateMaintenanceWindowTaskResponse.Builder name(String name)
The updated task name.
name
- The updated task name.UpdateMaintenanceWindowTaskResponse.Builder description(String description)
The updated task description.
description
- The updated task description.Copyright © 2020. All rights reserved.