@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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 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 action are also required for this API
request.
|
String |
getSchedule()
The schedule of the maintenance window in the form of a cron or rate expression.
|
String |
getScheduleTimezone()
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
String |
getStartDate()
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
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 action 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 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 action 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 |
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 time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
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 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 action 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 |
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 time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
UpdateMaintenanceWindowRequest |
withWindowId(String windowId)
The ID of the maintenance window to update.
|
addHandlerContext, 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 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.public String getStartDate()
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.
public UpdateMaintenanceWindowRequest withStartDate(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.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.
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", "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.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", "etc/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", "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.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 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.public Integer getCutoff()
The number of hours before the end of the maintenance window that 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 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.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 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.public Boolean getReplace()
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.
public UpdateMaintenanceWindowRequest withReplace(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.public Boolean isReplace()
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.
public String toString()
toString
in class Object
Object.toString()
public UpdateMaintenanceWindowRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.