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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateMaintenanceWindowRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
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
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateMaintenanceWindowRequest.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.