public static interface CreateMaintenanceWindowRequest.Builder extends SSMRequest.Builder, CopyableBuilder<CreateMaintenanceWindowRequest.Builder,CreateMaintenanceWindowRequest>
Modifier and Type | Method and Description |
---|---|
CreateMaintenanceWindowRequest.Builder |
allowUnassociatedTargets(Boolean allowUnassociatedTargets)
Enables a Maintenance Window task to execute on managed instances, even if you have not registered those
instances as targets.
|
CreateMaintenanceWindowRequest.Builder |
clientToken(String clientToken)
User-provided idempotency token.
|
CreateMaintenanceWindowRequest.Builder |
cutoff(Integer cutoff)
The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks
for execution.
|
CreateMaintenanceWindowRequest.Builder |
description(String description)
An optional description for the Maintenance Window.
|
CreateMaintenanceWindowRequest.Builder |
duration(Integer duration)
The duration of the Maintenance Window in hours.
|
CreateMaintenanceWindowRequest.Builder |
name(String name)
The name of the Maintenance Window.
|
CreateMaintenanceWindowRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateMaintenanceWindowRequest.Builder |
schedule(String schedule)
The schedule of the Maintenance Window in the form of a cron or rate expression.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateMaintenanceWindowRequest.Builder name(String name)
The name of the Maintenance Window.
name
- The name of the Maintenance Window.CreateMaintenanceWindowRequest.Builder description(String description)
An optional description for the Maintenance Window. We recommend specifying a description to help you organize your Maintenance Windows.
description
- An optional description for the Maintenance Window. We recommend specifying a description to help you
organize your Maintenance Windows.CreateMaintenanceWindowRequest.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.CreateMaintenanceWindowRequest.Builder duration(Integer duration)
The duration of the Maintenance Window in hours.
duration
- The duration of the Maintenance Window in hours.CreateMaintenanceWindowRequest.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.CreateMaintenanceWindowRequest.Builder allowUnassociatedTargets(Boolean allowUnassociatedTargets)
Enables a Maintenance Window task to execute on managed instances, even if you have not registered those instances as targets. If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the Maintenance Window
If you don't enable this option, then you must specify previously-registered targets when you register a task with the Maintenance Window.
allowUnassociatedTargets
- Enables a Maintenance Window task to execute on managed instances, even if you have not registered
those instances as targets. If enabled, then you must specify the unregistered instances (by instance
ID) when you register a task with the Maintenance Window
If you don't enable this option, then you must specify previously-registered targets when you register a task with the Maintenance Window.
CreateMaintenanceWindowRequest.Builder clientToken(String clientToken)
User-provided idempotency token.
clientToken
- User-provided idempotency token.CreateMaintenanceWindowRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.