public class MaintenanceWindowIdentity extends Object implements Serializable, Cloneable
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 Systems Manager stops scheduling new tasks for
execution.
|
Integer |
getDuration()
The duration of the Maintenance Window in hours.
|
Boolean |
getEnabled()
Whether the Maintenance Window is enabled.
|
String |
getName()
The name of the Maintenance Window.
|
String |
getWindowId()
The ID of the Maintenance Window.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether the Maintenance Window is enabled.
|
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 |
setDuration(Integer duration)
The duration of the Maintenance Window in hours.
|
void |
setEnabled(Boolean enabled)
Whether the Maintenance Window is enabled.
|
void |
setName(String name)
The name of the Maintenance Window.
|
void |
setWindowId(String windowId)
The ID of the Maintenance Window.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MaintenanceWindowIdentity |
withCutoff(Integer cutoff)
The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for
execution.
|
MaintenanceWindowIdentity |
withDuration(Integer duration)
The duration of the Maintenance Window in hours.
|
MaintenanceWindowIdentity |
withEnabled(Boolean enabled)
Whether the Maintenance Window is enabled.
|
MaintenanceWindowIdentity |
withName(String name)
The name of the Maintenance Window.
|
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 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 MaintenanceWindowIdentity 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 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 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 MaintenanceWindowIdentity 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 String toString()
toString
in class Object
Object.toString()
public MaintenanceWindowIdentity clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.