@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMaintenanceWindowResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMaintenanceWindowResult() |
Modifier and Type | Method and Description |
---|---|
GetMaintenanceWindowResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowUnassociatedTargets()
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
|
Date |
getCreatedDate()
The date the maintenance window was created.
|
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()
The description of the maintenance window.
|
Integer |
getDuration()
The duration of the maintenance window in hours.
|
Boolean |
getEnabled()
Indicates 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.
|
Date |
getModifiedDate()
The date the maintenance window was last modified.
|
String |
getName()
The name of the maintenance window.
|
String |
getNextExecutionTime()
The next time the maintenance window will actually run, taking into account any specified times for the
maintenance window to become active or inactive.
|
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()
Indicates 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 |
setCreatedDate(Date createdDate)
The date the maintenance window was created.
|
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)
The description of the maintenance window.
|
void |
setDuration(Integer duration)
The duration of the maintenance window in hours.
|
void |
setEnabled(Boolean enabled)
Indicates 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 |
setModifiedDate(Date modifiedDate)
The date the maintenance window was last modified.
|
void |
setName(String name)
The name of the maintenance window.
|
void |
setNextExecutionTime(String nextExecutionTime)
The next time the maintenance window will actually run, taking into account any specified times for the
maintenance window to become active or inactive.
|
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.
|
GetMaintenanceWindowResult |
withAllowUnassociatedTargets(Boolean allowUnassociatedTargets)
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
|
GetMaintenanceWindowResult |
withCreatedDate(Date createdDate)
The date the maintenance window was created.
|
GetMaintenanceWindowResult |
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.
|
GetMaintenanceWindowResult |
withDescription(String description)
The description of the maintenance window.
|
GetMaintenanceWindowResult |
withDuration(Integer duration)
The duration of the maintenance window in hours.
|
GetMaintenanceWindowResult |
withEnabled(Boolean enabled)
Indicates whether the maintenance window is enabled.
|
GetMaintenanceWindowResult |
withEndDate(String endDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.
|
GetMaintenanceWindowResult |
withModifiedDate(Date modifiedDate)
The date the maintenance window was last modified.
|
GetMaintenanceWindowResult |
withName(String name)
The name of the maintenance window.
|
GetMaintenanceWindowResult |
withNextExecutionTime(String nextExecutionTime)
The next time the maintenance window will actually run, taking into account any specified times for the
maintenance window to become active or inactive.
|
GetMaintenanceWindowResult |
withSchedule(String schedule)
The schedule of the maintenance window in the form of a cron or rate expression.
|
GetMaintenanceWindowResult |
withScheduleOffset(Integer scheduleOffset)
The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
|
GetMaintenanceWindowResult |
withScheduleTimezone(String scheduleTimezone)
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
GetMaintenanceWindowResult |
withStartDate(String startDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.
|
GetMaintenanceWindowResult |
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 GetMaintenanceWindowResult 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 GetMaintenanceWindowResult withName(String name)
The name of the maintenance window.
name
- The name of the maintenance window.public void setDescription(String description)
The description of the maintenance window.
description
- The description of the maintenance window.public String getDescription()
The description of the maintenance window.
public GetMaintenanceWindowResult withDescription(String description)
The description of the maintenance window.
description
- The description of the maintenance window.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 GetMaintenanceWindowResult 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 GetMaintenanceWindowResult 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 GetMaintenanceWindowResult 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 GetMaintenanceWindowResult 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 GetMaintenanceWindowResult 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 setNextExecutionTime(String nextExecutionTime)
The next time the maintenance window will actually run, taking into account any specified times for the maintenance window to become active or inactive.
nextExecutionTime
- The next time the maintenance window will actually run, taking into account any specified times for the
maintenance window to become active or inactive.public String getNextExecutionTime()
The next time the maintenance window will actually run, taking into account any specified times for the maintenance window to become active or inactive.
public GetMaintenanceWindowResult withNextExecutionTime(String nextExecutionTime)
The next time the maintenance window will actually run, taking into account any specified times for the maintenance window to become active or inactive.
nextExecutionTime
- The next time the maintenance window will actually run, taking into account any specified times for the
maintenance window to become active or inactive.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 GetMaintenanceWindowResult 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 GetMaintenanceWindowResult 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 GetMaintenanceWindowResult 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)
Indicates whether the maintenance window is enabled.
enabled
- Indicates whether the maintenance window is enabled.public Boolean getEnabled()
Indicates whether the maintenance window is enabled.
public GetMaintenanceWindowResult withEnabled(Boolean enabled)
Indicates whether the maintenance window is enabled.
enabled
- Indicates whether the maintenance window is enabled.public Boolean isEnabled()
Indicates whether the maintenance window is enabled.
public void setCreatedDate(Date createdDate)
The date the maintenance window was created.
createdDate
- The date the maintenance window was created.public Date getCreatedDate()
The date the maintenance window was created.
public GetMaintenanceWindowResult withCreatedDate(Date createdDate)
The date the maintenance window was created.
createdDate
- The date the maintenance window was created.public void setModifiedDate(Date modifiedDate)
The date the maintenance window was last modified.
modifiedDate
- The date the maintenance window was last modified.public Date getModifiedDate()
The date the maintenance window was last modified.
public GetMaintenanceWindowResult withModifiedDate(Date modifiedDate)
The date the maintenance window was last modified.
modifiedDate
- The date the maintenance window was last modified.public String toString()
toString
in class Object
Object.toString()
public GetMaintenanceWindowResult clone()