Class PendingMaintenanceAction
- java.lang.Object
-
- com.amazonaws.services.rds.model.PendingMaintenanceAction
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PendingMaintenanceAction extends Object implements Serializable, Cloneable
Provides information about a pending maintenance action for a resource.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PendingMaintenanceAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setAction
public void setAction(String action)
The type of pending maintenance action that is available for the resource.
- Parameters:
action
- The type of pending maintenance action that is available for the resource.
-
getAction
public String getAction()
The type of pending maintenance action that is available for the resource.
- Returns:
- The type of pending maintenance action that is available for the resource.
-
withAction
public PendingMaintenanceAction withAction(String action)
The type of pending maintenance action that is available for the resource.
- Parameters:
action
- The type of pending maintenance action that is available for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoAppliedAfterDate
public void setAutoAppliedAfterDate(Date 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.- Parameters:
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, anynext-maintenance
opt-in requests are ignored.
-
getAutoAppliedAfterDate
public Date getAutoAppliedAfterDate()
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.- Returns:
- 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.
-
withAutoAppliedAfterDate
public PendingMaintenanceAction withAutoAppliedAfterDate(Date 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.- Parameters:
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, anynext-maintenance
opt-in requests are ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setForcedApplyDate
public void setForcedApplyDate(Date 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.- Parameters:
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, anyimmediate
opt-in requests are ignored.
-
getForcedApplyDate
public Date getForcedApplyDate()
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.- Returns:
- 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.
-
withForcedApplyDate
public PendingMaintenanceAction withForcedApplyDate(Date 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.- Parameters:
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, anyimmediate
opt-in requests are ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOptInStatus
public void setOptInStatus(String optInStatus)
Indicates the type of opt-in request that has been received for the resource.
- Parameters:
optInStatus
- Indicates the type of opt-in request that has been received for the resource.
-
getOptInStatus
public String getOptInStatus()
Indicates the type of opt-in request that has been received for the resource.
- Returns:
- Indicates the type of opt-in request that has been received for the resource.
-
withOptInStatus
public PendingMaintenanceAction withOptInStatus(String optInStatus)
Indicates the type of opt-in request that has been received for the resource.
- Parameters:
optInStatus
- Indicates the type of opt-in request that has been received for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCurrentApplyDate
public void setCurrentApplyDate(Date 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 theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
orForcedApplyDate
.- Parameters:
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, theAutoAppliedAfterDate
, and theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
orForcedApplyDate
.
-
getCurrentApplyDate
public Date getCurrentApplyDate()
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 theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
orForcedApplyDate
.- Returns:
- 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 theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
orForcedApplyDate
.
-
withCurrentApplyDate
public PendingMaintenanceAction withCurrentApplyDate(Date 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 theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
orForcedApplyDate
.- Parameters:
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, theAutoAppliedAfterDate
, and theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
orForcedApplyDate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A description providing more detail about the maintenance action.
- Parameters:
description
- A description providing more detail about the maintenance action.
-
getDescription
public String getDescription()
A description providing more detail about the maintenance action.
- Returns:
- A description providing more detail about the maintenance action.
-
withDescription
public PendingMaintenanceAction withDescription(String description)
A description providing more detail about the maintenance action.
- Parameters:
description
- A description providing more detail about the maintenance action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PendingMaintenanceAction clone()
-
-