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) |
UpdateMaintenanceWindowRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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 |
scheduleOffset(Integer scheduleOffset)
The number of days to wait after the date and time specified by a CRON expression before running the
maintenance window.
|
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
equalsBySdkFields, sdkFields
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", "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", "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", "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", "UTC", or "Asia/Seoul". For more
information, see the Time Zone Database on the IANA
website.UpdateMaintenanceWindowRequest.Builder scheduleOffset(Integer scheduleOffset)
The number of days to wait after the date and time specified by a CRON expression before running the maintenance window.
For example, the following cron expression schedules a maintenance window to run the third Tuesday of every month at 11:30 PM.
cron(30 23 ? * TUE#3 *)
If the schedule offset is 2
, the maintenance window won't run until two days later.
scheduleOffset
- The number of days to wait after the date and time specified by a CRON expression before running the
maintenance window.
For example, the following cron expression schedules a maintenance window to run the third Tuesday of every month at 11:30 PM.
cron(30 23 ? * TUE#3 *)
If the schedule offset is 2
, the maintenance window won't run until two days later.
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)
overrideConfiguration
in interface AwsRequest.Builder
UpdateMaintenanceWindowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.