public static interface UpdateMaintenanceWindowRequest.Builder extends SsmRequest.Builder, SdkPojo, 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 |
endDate(String endDate)
The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become inactive.
|
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 |
scheduleTimezone(String scheduleTimezone)
The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
UpdateMaintenanceWindowRequest.Builder |
startDate(String startDate)
The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
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 startDate(String startDate)
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.
startDate
- 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.UpdateMaintenanceWindowRequest.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.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 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.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.