@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMaintenanceWindowRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateMaintenanceWindowRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateMaintenanceWindowRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowUnassociatedTargets()
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
|
Integer |
getCutoff()
The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops
scheduling new tasks for execution.
|
String |
getDescription()
An optional description for the update request.
|
Integer |
getDuration()
The duration of the maintenance window in hours.
|
Boolean |
getEnabled()
Whether the maintenance window is enabled.
|
String |
getEndDate()
The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become inactive.
|
String |
getName()
The name of the maintenance window.
|
Boolean |
getReplace()
If
True , then all fields that are required by the CreateMaintenanceWindow operation are also
required for this API request. |
String |
getSchedule()
The schedule of the maintenance window in the form of a cron or rate expression.
|
Integer |
getScheduleOffset()
The number of days to wait after the date and time specified by a cron expression before running the maintenance
window.
|
String |
getScheduleTimezone()
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
String |
getStartDate()
The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become active.
|
String |
getWindowId()
The ID of the maintenance window to update.
|
int |
hashCode() |
Boolean |
isAllowUnassociatedTargets()
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
|
Boolean |
isEnabled()
Whether the maintenance window is enabled.
|
Boolean |
isReplace()
If
True , then all fields that are required by the CreateMaintenanceWindow operation are also
required for this API request. |
void |
setAllowUnassociatedTargets(Boolean allowUnassociatedTargets)
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
|
void |
setCutoff(Integer cutoff)
The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops
scheduling new tasks for execution.
|
void |
setDescription(String description)
An optional description for the update request.
|
void |
setDuration(Integer duration)
The duration of the maintenance window in hours.
|
void |
setEnabled(Boolean enabled)
Whether the maintenance window is enabled.
|
void |
setEndDate(String endDate)
The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become inactive.
|
void |
setName(String name)
The name of the maintenance window.
|
void |
setReplace(Boolean replace)
If
True , then all fields that are required by the CreateMaintenanceWindow operation are also
required for this API request. |
void |
setSchedule(String schedule)
The schedule of the maintenance window in the form of a cron or rate expression.
|
void |
setScheduleOffset(Integer scheduleOffset)
The number of days to wait after the date and time specified by a cron expression before running the maintenance
window.
|
void |
setScheduleTimezone(String scheduleTimezone)
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
void |
setStartDate(String startDate)
The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become active.
|
void |
setWindowId(String windowId)
The ID of the maintenance window to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateMaintenanceWindowRequest |
withAllowUnassociatedTargets(Boolean allowUnassociatedTargets)
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
|
UpdateMaintenanceWindowRequest |
withCutoff(Integer cutoff)
The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops
scheduling new tasks for execution.
|
UpdateMaintenanceWindowRequest |
withDescription(String description)
An optional description for the update request.
|
UpdateMaintenanceWindowRequest |
withDuration(Integer duration)
The duration of the maintenance window in hours.
|
UpdateMaintenanceWindowRequest |
withEnabled(Boolean enabled)
Whether the maintenance window is enabled.
|
UpdateMaintenanceWindowRequest |
withEndDate(String endDate)
The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become inactive.
|
UpdateMaintenanceWindowRequest |
withName(String name)
The name of the maintenance window.
|
UpdateMaintenanceWindowRequest |
withReplace(Boolean replace)
If
True , then all fields that are required by the CreateMaintenanceWindow operation are also
required for this API request. |
UpdateMaintenanceWindowRequest |
withSchedule(String schedule)
The schedule of the maintenance window in the form of a cron or rate expression.
|
UpdateMaintenanceWindowRequest |
withScheduleOffset(Integer scheduleOffset)
The number of days to wait after the date and time specified by a cron expression before running the maintenance
window.
|
UpdateMaintenanceWindowRequest |
withScheduleTimezone(String scheduleTimezone)
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
UpdateMaintenanceWindowRequest |
withStartDate(String startDate)
The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become active.
|
UpdateMaintenanceWindowRequest |
withWindowId(String windowId)
The ID of the maintenance window to update.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setWindowId(String windowId)
The ID of the maintenance window to update.
windowId
- The ID of the maintenance window to update.public String getWindowId()
The ID of the maintenance window to update.
public UpdateMaintenanceWindowRequest withWindowId(String windowId)
The ID of the maintenance window to update.
windowId
- The ID of the maintenance window to update.public void setName(String name)
The name of the maintenance window.
name
- The name of the maintenance window.public String getName()
The name of the maintenance window.
public UpdateMaintenanceWindowRequest withName(String name)
The name of the maintenance window.
name
- The name of the maintenance window.public void setDescription(String description)
An optional description for the update request.
description
- An optional description for the update request.public String getDescription()
An optional description for the update request.
public UpdateMaintenanceWindowRequest withDescription(String description)
An optional description for the update request.
description
- An optional description for the update request.public void setStartDate(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.public String getStartDate()
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
allows you to delay activation of the maintenance window until the
specified future date.public UpdateMaintenanceWindowRequest withStartDate(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.public void setEndDate(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.public String getEndDate()
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
allows you to set a date and time in the future when the maintenance
window will no longer run.public UpdateMaintenanceWindowRequest withEndDate(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.public void setSchedule(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.public String getSchedule()
The schedule of the maintenance window in the form of a cron or rate expression.
public UpdateMaintenanceWindowRequest withSchedule(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.public void setScheduleTimezone(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.public String getScheduleTimezone()
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.
public UpdateMaintenanceWindowRequest withScheduleTimezone(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.public void setScheduleOffset(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.
public Integer getScheduleOffset()
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.
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.
public UpdateMaintenanceWindowRequest withScheduleOffset(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.
public void setDuration(Integer duration)
The duration of the maintenance window in hours.
duration
- The duration of the maintenance window in hours.public Integer getDuration()
The duration of the maintenance window in hours.
public UpdateMaintenanceWindowRequest withDuration(Integer duration)
The duration of the maintenance window in hours.
duration
- The duration of the maintenance window in hours.public void setCutoff(Integer cutoff)
The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.
cutoff
- The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager
stops scheduling new tasks for execution.public Integer getCutoff()
The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.
public UpdateMaintenanceWindowRequest withCutoff(Integer cutoff)
The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.
cutoff
- The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager
stops scheduling new tasks for execution.public void setAllowUnassociatedTargets(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.public Boolean getAllowUnassociatedTargets()
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
public UpdateMaintenanceWindowRequest withAllowUnassociatedTargets(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.public Boolean isAllowUnassociatedTargets()
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
public void setEnabled(Boolean enabled)
Whether the maintenance window is enabled.
enabled
- Whether the maintenance window is enabled.public Boolean getEnabled()
Whether the maintenance window is enabled.
public UpdateMaintenanceWindowRequest withEnabled(Boolean enabled)
Whether the maintenance window is enabled.
enabled
- Whether the maintenance window is enabled.public Boolean isEnabled()
Whether the maintenance window is enabled.
public void setReplace(Boolean replace)
If True
, then all fields that are required by the CreateMaintenanceWindow operation are also
required for this API request. Optional fields that aren't specified are set to null.
replace
- If True
, then all fields that are required by the CreateMaintenanceWindow operation
are also required for this API request. Optional fields that aren't specified are set to null.public Boolean getReplace()
If True
, then all fields that are required by the CreateMaintenanceWindow operation are also
required for this API request. Optional fields that aren't specified are set to null.
True
, then all fields that are required by the CreateMaintenanceWindow operation
are also required for this API request. Optional fields that aren't specified are set to null.public UpdateMaintenanceWindowRequest withReplace(Boolean replace)
If True
, then all fields that are required by the CreateMaintenanceWindow operation are also
required for this API request. Optional fields that aren't specified are set to null.
replace
- If True
, then all fields that are required by the CreateMaintenanceWindow operation
are also required for this API request. Optional fields that aren't specified are set to null.public Boolean isReplace()
If True
, then all fields that are required by the CreateMaintenanceWindow operation are also
required for this API request. Optional fields that aren't specified are set to null.
True
, then all fields that are required by the CreateMaintenanceWindow operation
are also required for this API request. Optional fields that aren't specified are set to null.public String toString()
toString
in class Object
Object.toString()
public UpdateMaintenanceWindowRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.