public class PendingMaintenanceAction extends Object implements Serializable, Cloneable
Provides information about a pending maintenance action for a resource.
Constructor and Description |
---|
PendingMaintenanceAction() |
Modifier and Type | Method and Description |
---|---|
PendingMaintenanceAction |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The type of pending maintenance action that is available for the
resource.
|
Date |
getAutoAppliedAfterDate()
The date of the maintenance window when the action will be applied.
|
Date |
getCurrentApplyDate()
The effective date when the pending maintenance action will be applied
to the resource.
|
String |
getDescription()
A description providing more detail about the maintenance action.
|
Date |
getForcedApplyDate()
The date when the maintenance action will be automatically applied.
|
String |
getOptInStatus()
Indicates the type of opt-in request that has been received for the
resource.
|
int |
hashCode() |
void |
setAction(String action)
The type of pending maintenance action that is available for the
resource.
|
void |
setAutoAppliedAfterDate(Date autoAppliedAfterDate)
The date of the maintenance window when the action will be applied.
|
void |
setCurrentApplyDate(Date currentApplyDate)
The effective date when the pending maintenance action will be applied
to the resource.
|
void |
setDescription(String description)
A description providing more detail about the maintenance action.
|
void |
setForcedApplyDate(Date forcedApplyDate)
The date when the maintenance action will be automatically applied.
|
void |
setOptInStatus(String optInStatus)
Indicates the type of opt-in request that has been received for the
resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PendingMaintenanceAction |
withAction(String action)
The type of pending maintenance action that is available for the
resource.
|
PendingMaintenanceAction |
withAutoAppliedAfterDate(Date autoAppliedAfterDate)
The date of the maintenance window when the action will be applied.
|
PendingMaintenanceAction |
withCurrentApplyDate(Date currentApplyDate)
The effective date when the pending maintenance action will be applied
to the resource.
|
PendingMaintenanceAction |
withDescription(String description)
A description providing more detail about the maintenance action.
|
PendingMaintenanceAction |
withForcedApplyDate(Date forcedApplyDate)
The date when the maintenance action will be automatically applied.
|
PendingMaintenanceAction |
withOptInStatus(String optInStatus)
Indicates the type of opt-in request that has been received for the
resource.
|
public String getAction()
public void setAction(String action)
action
- The type of pending maintenance action that is available for the
resource.public PendingMaintenanceAction withAction(String action)
Returns a reference to this object so that method calls can be chained together.
action
- The type of pending maintenance action that is available for the
resource.public Date getAutoAppliedAfterDate()
next-maintenance
opt-in requests are ignored.next-maintenance
opt-in requests are ignored.public void setAutoAppliedAfterDate(Date autoAppliedAfterDate)
next-maintenance
opt-in requests are ignored.autoAppliedAfterDate
- The date of the maintenance window when the action will be applied.
The maintenance action will be applied to the resource during its
first maintenance window after this date. If this date is specified,
any next-maintenance
opt-in requests are ignored.public PendingMaintenanceAction withAutoAppliedAfterDate(Date autoAppliedAfterDate)
next-maintenance
opt-in requests are ignored.
Returns a reference to this object so that method calls can be chained together.
autoAppliedAfterDate
- The date of the maintenance window when the action will be applied.
The maintenance action will be applied to the resource during its
first maintenance window after this date. If this date is specified,
any next-maintenance
opt-in requests are ignored.public Date getForcedApplyDate()
immediate
opt-in requests are ignored.immediate
opt-in requests are ignored.public void setForcedApplyDate(Date forcedApplyDate)
immediate
opt-in requests are ignored.forcedApplyDate
- The date when the maintenance action will be automatically applied.
The maintenance action will be applied to the resource on this date
regardless of the maintenance window for the resource. If this date is
specified, any immediate
opt-in requests are ignored.public PendingMaintenanceAction withForcedApplyDate(Date forcedApplyDate)
immediate
opt-in requests are ignored.
Returns a reference to this object so that method calls can be chained together.
forcedApplyDate
- The date when the maintenance action will be automatically applied.
The maintenance action will be applied to the resource on this date
regardless of the maintenance window for the resource. If this date is
specified, any immediate
opt-in requests are ignored.public String getOptInStatus()
public void setOptInStatus(String optInStatus)
optInStatus
- Indicates the type of opt-in request that has been received for the
resource.public PendingMaintenanceAction withOptInStatus(String optInStatus)
Returns a reference to this object so that method calls can be chained together.
optInStatus
- Indicates the type of opt-in request that has been received for the
resource.public Date getCurrentApplyDate()
AutoAppliedAfterDate
, and the
ForcedApplyDate
. This value is blank if an opt-in request
has not been received and nothing has been specified as
AutoAppliedAfterDate
or ForcedApplyDate
.AutoAppliedAfterDate
, and the
ForcedApplyDate
. This value is blank if an opt-in request
has not been received and nothing has been specified as
AutoAppliedAfterDate
or ForcedApplyDate
.public void setCurrentApplyDate(Date currentApplyDate)
AutoAppliedAfterDate
, and the
ForcedApplyDate
. This value is blank if an opt-in request
has not been received and nothing has been specified as
AutoAppliedAfterDate
or ForcedApplyDate
.currentApplyDate
- The effective date when the pending maintenance action will be applied
to the resource. This date takes into account opt-in requests received
from the ApplyPendingMaintenanceAction API, the
AutoAppliedAfterDate
, and the
ForcedApplyDate
. This value is blank if an opt-in request
has not been received and nothing has been specified as
AutoAppliedAfterDate
or ForcedApplyDate
.public PendingMaintenanceAction withCurrentApplyDate(Date currentApplyDate)
AutoAppliedAfterDate
, and the
ForcedApplyDate
. This value is blank if an opt-in request
has not been received and nothing has been specified as
AutoAppliedAfterDate
or ForcedApplyDate
.
Returns a reference to this object so that method calls can be chained together.
currentApplyDate
- The effective date when the pending maintenance action will be applied
to the resource. This date takes into account opt-in requests received
from the ApplyPendingMaintenanceAction API, the
AutoAppliedAfterDate
, and the
ForcedApplyDate
. This value is blank if an opt-in request
has not been received and nothing has been specified as
AutoAppliedAfterDate
or ForcedApplyDate
.public String getDescription()
public void setDescription(String description)
description
- A description providing more detail about the maintenance action.public PendingMaintenanceAction withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description providing more detail about the maintenance action.public String toString()
toString
in class Object
Object.toString()
public PendingMaintenanceAction clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.