@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 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 |
getName()
The name of the Maintenance Window.
|
String |
getSchedule()
The schedule of the Maintenance Window in the form of a cron or rate expression.
|
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 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 |
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 |
setWindowId(String windowId)
The ID of the created Maintenance Window.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 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 |
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 |
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 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 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 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 UpdateMaintenanceWindowResult 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 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.