@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MaintenanceWindowIdentity extends Object implements Serializable, Cloneable, StructuredPojo
Information about the maintenance window.
Constructor and Description |
---|
MaintenanceWindowIdentity() |
Modifier and Type | Method and Description |
---|---|
MaintenanceWindowIdentity |
clone() |
boolean |
equals(Object obj) |
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()
A 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.
|
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 maintenance window.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether the maintenance window is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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)
A 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 |
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 maintenance window.
|
String |
toString()
Returns a string representation of this object.
|
MaintenanceWindowIdentity |
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.
|
MaintenanceWindowIdentity |
withDescription(String description)
A description of the maintenance window.
|
MaintenanceWindowIdentity |
withDuration(Integer duration)
The duration of the maintenance window in hours.
|
MaintenanceWindowIdentity |
withEnabled(Boolean enabled)
Indicates whether the maintenance window is enabled.
|
MaintenanceWindowIdentity |
withEndDate(String endDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.
|
MaintenanceWindowIdentity |
withName(String name)
The name of the maintenance window.
|
MaintenanceWindowIdentity |
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.
|
MaintenanceWindowIdentity |
withSchedule(String schedule)
The schedule of the maintenance window in the form of a cron or rate expression.
|
MaintenanceWindowIdentity |
withScheduleOffset(Integer scheduleOffset)
The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
|
MaintenanceWindowIdentity |
withScheduleTimezone(String scheduleTimezone)
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.
|
MaintenanceWindowIdentity |
withStartDate(String startDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.
|
MaintenanceWindowIdentity |
withWindowId(String windowId)
The ID of the maintenance window.
|
public void setWindowId(String windowId)
The ID of the maintenance window.
windowId
- The ID of the maintenance window.public String getWindowId()
The ID of the maintenance window.
public MaintenanceWindowIdentity withWindowId(String windowId)
The ID of the maintenance window.
windowId
- The ID of the 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 MaintenanceWindowIdentity withName(String name)
The name of the maintenance window.
name
- The name of the maintenance window.public void setDescription(String description)
A description of the maintenance window.
description
- A description of the maintenance window.public String getDescription()
A description of the maintenance window.
public MaintenanceWindowIdentity withDescription(String description)
A description of the maintenance window.
description
- A description of the maintenance window.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 MaintenanceWindowIdentity 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 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 MaintenanceWindowIdentity 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 MaintenanceWindowIdentity 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 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 MaintenanceWindowIdentity 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.
scheduleTimezone
- The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.public String getScheduleTimezone()
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format.
public MaintenanceWindowIdentity withScheduleTimezone(String scheduleTimezone)
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format.
scheduleTimezone
- The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers
Authority (IANA) format.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 MaintenanceWindowIdentity 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 setEndDate(String endDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.
endDate
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become
inactive.public String getEndDate()
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.
public MaintenanceWindowIdentity withEndDate(String endDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.
endDate
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become
inactive.public void setStartDate(String startDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.
startDate
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become
active.public String getStartDate()
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.
public MaintenanceWindowIdentity withStartDate(String startDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.
startDate
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become
active.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 MaintenanceWindowIdentity 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 String toString()
toString
in class Object
Object.toString()
public MaintenanceWindowIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.