public static interface UpdateMaintenanceWindowTaskResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdateMaintenanceWindowTaskResponse.Builder,UpdateMaintenanceWindowTaskResponse>
| Modifier and Type | Method and Description |
|---|---|
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.
|
UpdateMaintenanceWindowTaskResponse.Builder |
cutoffBehavior(String cutoffBehavior)
The specification for whether tasks should continue to run after the cutoff time specified in the maintenance
windows is reached.
|
UpdateMaintenanceWindowTaskResponse.Builder |
description(String description)
The updated task description.
|
default UpdateMaintenanceWindowTaskResponse.Builder |
loggingInfo(Consumer<LoggingInfo.Builder> loggingInfo)
The updated logging information in Amazon S3.
|
UpdateMaintenanceWindowTaskResponse.Builder |
loggingInfo(LoggingInfo loggingInfo)
The updated logging information in Amazon S3.
|
UpdateMaintenanceWindowTaskResponse.Builder |
maxConcurrency(String maxConcurrency)
The updated
MaxConcurrency value. |
UpdateMaintenanceWindowTaskResponse.Builder |
maxErrors(String maxErrors)
The updated
MaxErrors value. |
UpdateMaintenanceWindowTaskResponse.Builder |
name(String name)
The updated task name.
|
UpdateMaintenanceWindowTaskResponse.Builder |
priority(Integer priority)
The updated priority value.
|
UpdateMaintenanceWindowTaskResponse.Builder |
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.
|
UpdateMaintenanceWindowTaskResponse.Builder |
targets(Collection<Target> targets)
The updated target values.
|
UpdateMaintenanceWindowTaskResponse.Builder |
targets(Consumer<Target.Builder>... targets)
The updated target values.
|
UpdateMaintenanceWindowTaskResponse.Builder |
targets(Target... targets)
The updated target values.
|
UpdateMaintenanceWindowTaskResponse.Builder |
taskArn(String taskArn)
The updated task ARN value.
|
default UpdateMaintenanceWindowTaskResponse.Builder |
taskInvocationParameters(Consumer<MaintenanceWindowTaskInvocationParameters.Builder> taskInvocationParameters)
The updated parameter values.
|
UpdateMaintenanceWindowTaskResponse.Builder |
taskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The updated parameter values.
|
UpdateMaintenanceWindowTaskResponse.Builder |
taskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The updated parameter values.
|
UpdateMaintenanceWindowTaskResponse.Builder |
windowId(String 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateMaintenanceWindowTaskResponse.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 method 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 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.
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.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 method 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.BuildertaskInvocationParameters(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 Amazon Simple Storage Service (Amazon S3) bucket
to contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options
in the TaskInvocationParameters structure. For information about how Amazon Web Services 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 Amazon Simple Storage Service (Amazon S3)
bucket to contain logs, instead use the OutputS3BucketName and
OutputS3KeyPrefix options in the TaskInvocationParameters structure. For
information about how Amazon Web Services 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 Amazon Simple Storage Service (Amazon S3) bucket
to contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options
in the TaskInvocationParameters 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 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.BuilderloggingInfo(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.UpdateMaintenanceWindowTaskResponse.Builder cutoffBehavior(String cutoffBehavior)
The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
cutoffBehavior - The specification for whether tasks should continue to run after the cutoff time specified in the
maintenance windows is reached.MaintenanceWindowTaskCutoffBehavior,
MaintenanceWindowTaskCutoffBehaviorUpdateMaintenanceWindowTaskResponse.Builder cutoffBehavior(MaintenanceWindowTaskCutoffBehavior cutoffBehavior)
The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
cutoffBehavior - The specification for whether tasks should continue to run after the cutoff time specified in the
maintenance windows is reached.MaintenanceWindowTaskCutoffBehavior,
MaintenanceWindowTaskCutoffBehaviorCopyright © 2022. All rights reserved.