@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 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()
Whether the Maintenance Windows is enabled.
|
Date |
getModifiedDate()
The date the Maintenance Window was last modified.
|
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 Windows 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 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)
Whether the Maintenance Windows is enabled.
|
void |
setModifiedDate(Date modifiedDate)
The date the Maintenance Window was last modified.
|
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.
|
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 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)
Whether the Maintenance Windows is enabled.
|
GetMaintenanceWindowResult |
withModifiedDate(Date modifiedDate)
The date the Maintenance Window was last modified.
|
GetMaintenanceWindowResult |
withName(String name)
The name of the Maintenance Window.
|
GetMaintenanceWindowResult |
withSchedule(String schedule)
The schedule of the Maintenance Window in the form of a cron or rate expression.
|
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 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 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 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 GetMaintenanceWindowResult 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 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)
Whether the Maintenance Windows is enabled.
enabled
- Whether the Maintenance Windows is enabled.public Boolean getEnabled()
Whether the Maintenance Windows is enabled.
public GetMaintenanceWindowResult withEnabled(Boolean enabled)
Whether the Maintenance Windows is enabled.
enabled
- Whether the Maintenance Windows is enabled.public Boolean isEnabled()
Whether the Maintenance Windows 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.