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 |
replace(Boolean replace)
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this
API request.
|
UpdateMaintenanceWindowRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
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
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.