public static interface CreateMaintenanceWindowRequest.Builder extends SsmRequest.Builder, SdkPojo, 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 |
endDate(String endDate)
The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become inactive.
|
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.
|
CreateMaintenanceWindowRequest.Builder |
scheduleTimezone(String scheduleTimezone)
The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
CreateMaintenanceWindowRequest.Builder |
startDate(String startDate)
The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become active.
|
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 startDate(String startDate)
The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become active. StartDate allows you to delay activation of the Maintenance Window until the specified future date.
startDate
- The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become
active. StartDate allows you to delay activation of the Maintenance Window until the specified future
date.CreateMaintenanceWindowRequest.Builder endDate(String endDate)
The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become inactive. EndDate allows you to set a date and time in the future when the Maintenance Window will no longer run.
endDate
- The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become
inactive. EndDate allows you to set a date and time in the future when the Maintenance Window will no
longer run.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 scheduleTimezone(String scheduleTimezone)
The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "etc/UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
scheduleTimezone
- The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned
Numbers Authority (IANA) format. For example: "America/Los_Angeles", "etc/UTC", or "Asia/Seoul". For
more information, see the Time Zone Database on the IANA
website.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.