@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 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()
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 |
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 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)
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 |
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)
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 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)
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.