@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMaintenanceWindowResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateMaintenanceWindowResult() |
Modifier and Type | Method and Description |
---|---|
UpdateMaintenanceWindowResult |
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 of the update.
|
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 the maintenance window is scheduled to become inactive.
|
String |
getName()
The name of the maintenance window.
|
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 to run a maintenance window after the scheduled cron expression date and time.
|
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 the maintenance window is scheduled to become active.
|
String |
getWindowId()
The ID of the created maintenance window.
|
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.
|
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 of the update.
|
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 the maintenance window is scheduled to become inactive.
|
void |
setName(String name)
The name of the maintenance window.
|
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 to run a maintenance window after the scheduled cron expression date and time.
|
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 the maintenance window is scheduled to become active.
|
void |
setWindowId(String windowId)
The ID of the created maintenance window.
|
String |
toString()
Returns a string representation of this object.
|
UpdateMaintenanceWindowResult |
withAllowUnassociatedTargets(Boolean allowUnassociatedTargets)
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
|
UpdateMaintenanceWindowResult |
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.
|
UpdateMaintenanceWindowResult |
withDescription(String description)
An optional description of the update.
|
UpdateMaintenanceWindowResult |
withDuration(Integer duration)
The duration of the maintenance window in hours.
|
UpdateMaintenanceWindowResult |
withEnabled(Boolean enabled)
Whether the maintenance window is enabled.
|
UpdateMaintenanceWindowResult |
withEndDate(String endDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.
|
UpdateMaintenanceWindowResult |
withName(String name)
The name of the maintenance window.
|
UpdateMaintenanceWindowResult |
withSchedule(String schedule)
The schedule of the maintenance window in the form of a cron or rate expression.
|
UpdateMaintenanceWindowResult |
withScheduleOffset(Integer scheduleOffset)
The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
|
UpdateMaintenanceWindowResult |
withScheduleTimezone(String scheduleTimezone)
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
UpdateMaintenanceWindowResult |
withStartDate(String startDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.
|
UpdateMaintenanceWindowResult |
withWindowId(String windowId)
The ID of the created maintenance window.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setWindowId(String windowId)
The ID of the created maintenance window.
windowId
- The ID of the created maintenance window.public String getWindowId()
The ID of the created maintenance window.
public UpdateMaintenanceWindowResult withWindowId(String windowId)
The ID of the created maintenance window.
windowId
- The ID of the created maintenance window.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 UpdateMaintenanceWindowResult withName(String name)
The name of the maintenance window.
name
- The name of the maintenance window.public void setDescription(String description)
An optional description of the update.
description
- An optional description of the update.public String getDescription()
An optional description of the update.
public UpdateMaintenanceWindowResult withDescription(String description)
An optional description of the update.
description
- An optional description of the update.public void setStartDate(String startDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. The maintenance window won't run before this specified time.
startDate
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become
active. The maintenance window won't run before this specified time.public String getStartDate()
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. The maintenance window won't run before this specified time.
public UpdateMaintenanceWindowResult withStartDate(String startDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. The maintenance window won't run before this specified time.
startDate
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become
active. The maintenance window won't run before this specified time.public void setEndDate(String endDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. The maintenance window won't run after this specified time.
endDate
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become
inactive. The maintenance window won't run after this specified time.public String getEndDate()
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. The maintenance window won't run after this specified time.
public UpdateMaintenanceWindowResult withEndDate(String endDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. The maintenance window won't run after this specified time.
endDate
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become
inactive. The maintenance window won't run after this specified time.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 UpdateMaintenanceWindowResult 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 UpdateMaintenanceWindowResult 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 to run a maintenance window after the scheduled cron expression date and time.
scheduleOffset
- The number of days to wait to run a maintenance window after the scheduled cron expression date and time.public Integer getScheduleOffset()
The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
public UpdateMaintenanceWindowResult withScheduleOffset(Integer scheduleOffset)
The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
scheduleOffset
- The number of days to wait to run a maintenance window after the scheduled cron expression date and time.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 UpdateMaintenanceWindowResult 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 UpdateMaintenanceWindowResult 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 UpdateMaintenanceWindowResult 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 UpdateMaintenanceWindowResult 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 String toString()
toString
in class Object
Object.toString()
public UpdateMaintenanceWindowResult clone()