@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMaintenanceWindowRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateMaintenanceWindowRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateMaintenanceWindowRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 for the update request.
|
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.
|
Boolean |
getReplace()
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API
request.
|
String |
getSchedule()
The schedule of the Maintenance Window in the form of a cron or rate expression.
|
String |
getWindowId()
The ID of the Maintenance Window to update.
|
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.
|
Boolean |
isReplace()
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API
request.
|
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 for the update request.
|
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 |
setReplace(Boolean replace)
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API
request.
|
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 Maintenance Window to update.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateMaintenanceWindowRequest |
withAllowUnassociatedTargets(Boolean allowUnassociatedTargets)
Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
|
UpdateMaintenanceWindowRequest |
withCutoff(Integer cutoff)
The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for
execution.
|
UpdateMaintenanceWindowRequest |
withDescription(String description)
An optional description for the update request.
|
UpdateMaintenanceWindowRequest |
withDuration(Integer duration)
The duration of the Maintenance Window in hours.
|
UpdateMaintenanceWindowRequest |
withEnabled(Boolean enabled)
Whether the Maintenance Window is enabled.
|
UpdateMaintenanceWindowRequest |
withName(String name)
The name of the Maintenance Window.
|
UpdateMaintenanceWindowRequest |
withReplace(Boolean replace)
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API
request.
|
UpdateMaintenanceWindowRequest |
withSchedule(String schedule)
The schedule of the Maintenance Window in the form of a cron or rate expression.
|
UpdateMaintenanceWindowRequest |
withWindowId(String windowId)
The ID of the Maintenance Window to update.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setWindowId(String windowId)
The ID of the Maintenance Window to update.
windowId
- The ID of the Maintenance Window to update.public String getWindowId()
The ID of the Maintenance Window to update.
public UpdateMaintenanceWindowRequest withWindowId(String windowId)
The ID of the Maintenance Window to update.
windowId
- The ID of the Maintenance Window to update.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 UpdateMaintenanceWindowRequest withName(String name)
The name of the Maintenance Window.
name
- The name of the Maintenance Window.public void setDescription(String description)
An optional description for the update request.
description
- An optional description for the update request.public String getDescription()
An optional description for the update request.
public UpdateMaintenanceWindowRequest withDescription(String description)
An optional description for the update request.
description
- An optional description for the update request.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 UpdateMaintenanceWindowRequest 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 UpdateMaintenanceWindowRequest 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 UpdateMaintenanceWindowRequest 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 UpdateMaintenanceWindowRequest 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 UpdateMaintenanceWindowRequest 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 setReplace(Boolean replace)
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the CreateMaintenanceWindow action are also required for
this API request. Optional fields that are not specified are set to null.public Boolean getReplace()
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
public UpdateMaintenanceWindowRequest withReplace(Boolean replace)
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the CreateMaintenanceWindow action are also required for
this API request. Optional fields that are not specified are set to null.public Boolean isReplace()
If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
public String toString()
toString
in class Object
Object.toString()
public UpdateMaintenanceWindowRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.