public static interface UpdateMaintenanceWindowRequest.Builder extends SsmRequest.Builder, CopyableBuilder<UpdateMaintenanceWindowRequest.Builder,UpdateMaintenanceWindowRequest>
Modifier and Type | Method and Description |
---|---|
UpdateMaintenanceWindowRequest.Builder |
allowUnassociatedTargets(Boolean allowUnassociatedTargets)
Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
|
UpdateMaintenanceWindowRequest.Builder |
cutoff(Integer cutoff)
The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks
for execution.
|
UpdateMaintenanceWindowRequest.Builder |
description(String description)
An optional description for the update request.
|
UpdateMaintenanceWindowRequest.Builder |
duration(Integer duration)
The duration of the Maintenance Window in hours.
|
UpdateMaintenanceWindowRequest.Builder |
enabled(Boolean enabled)
Whether the Maintenance Window is enabled.
|
UpdateMaintenanceWindowRequest.Builder |
name(String name)
The name of the Maintenance Window.
|
UpdateMaintenanceWindowRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateMaintenanceWindowRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateMaintenanceWindowRequest.Builder |
replace(Boolean replace)
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this
API request.
|
UpdateMaintenanceWindowRequest.Builder |
schedule(String schedule)
The schedule of the Maintenance Window in the form of a cron or rate expression.
|
UpdateMaintenanceWindowRequest.Builder |
windowId(String windowId)
The ID of the Maintenance Window to update.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateMaintenanceWindowRequest.Builder windowId(String windowId)
The ID of the Maintenance Window to update.
windowId
- The ID of the Maintenance Window to update.UpdateMaintenanceWindowRequest.Builder name(String name)
The name of the Maintenance Window.
name
- The name of the Maintenance Window.UpdateMaintenanceWindowRequest.Builder description(String description)
An optional description for the update request.
description
- An optional description for the update request.UpdateMaintenanceWindowRequest.Builder schedule(String schedule)
The schedule of the Maintenance Window in the form of a cron or rate expression.
schedule
- The schedule of the Maintenance Window in the form of a cron or rate expression.UpdateMaintenanceWindowRequest.Builder duration(Integer duration)
The duration of the Maintenance Window in hours.
duration
- The duration of the Maintenance Window in hours.UpdateMaintenanceWindowRequest.Builder cutoff(Integer cutoff)
The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
cutoff
- The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new
tasks for execution.UpdateMaintenanceWindowRequest.Builder allowUnassociatedTargets(Boolean allowUnassociatedTargets)
Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
allowUnassociatedTargets
- Whether targets must be registered with the Maintenance Window before tasks can be defined for those
targets.UpdateMaintenanceWindowRequest.Builder enabled(Boolean enabled)
Whether the Maintenance Window is enabled.
enabled
- Whether the Maintenance Window is enabled.UpdateMaintenanceWindowRequest.Builder replace(Boolean replace)
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the CreateMaintenanceWindow action are also required for
this API request. Optional fields that are not specified are set to null.UpdateMaintenanceWindowRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateMaintenanceWindowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.