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 PendingMaintenanceActionclone()booleanequals(Object obj)StringgetAction()The type of pending maintenance action that is available for the resource.DategetAutoAppliedAfterDate()The date of the maintenance window when the action will be applied.DategetCurrentApplyDate()The effective date when the pending maintenance action will be applied to the resource.StringgetDescription()A description providing more detail about the maintenance action.DategetForcedApplyDate()The date when the maintenance action will be automatically applied.StringgetOptInStatus()Indicates the type of opt-in request that has been received for the resource.inthashCode()voidsetAction(String action)The type of pending maintenance action that is available for the resource.voidsetAutoAppliedAfterDate(Date autoAppliedAfterDate)The date of the maintenance window when the action will be applied.voidsetCurrentApplyDate(Date currentApplyDate)The effective date when the pending maintenance action will be applied to the resource.voidsetDescription(String description)A description providing more detail about the maintenance action.voidsetForcedApplyDate(Date forcedApplyDate)The date when the maintenance action will be automatically applied.voidsetOptInStatus(String optInStatus)Indicates the type of opt-in request that has been received for the resource.StringtoString()Returns a string representation of this object; useful for testing and debugging.PendingMaintenanceActionwithAction(String action)The type of pending maintenance action that is available for the resource.PendingMaintenanceActionwithAutoAppliedAfterDate(Date autoAppliedAfterDate)The date of the maintenance window when the action will be applied.PendingMaintenanceActionwithCurrentApplyDate(Date currentApplyDate)The effective date when the pending maintenance action will be applied to the resource.PendingMaintenanceActionwithDescription(String description)A description providing more detail about the maintenance action.PendingMaintenanceActionwithForcedApplyDate(Date forcedApplyDate)The date when the maintenance action will be automatically applied.PendingMaintenanceActionwithOptInStatus(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-maintenanceopt-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-maintenanceopt-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-maintenanceopt-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-maintenanceopt-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-maintenanceopt-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-maintenanceopt-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
immediateopt-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, anyimmediateopt-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
immediateopt-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
immediateopt-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
immediateopt-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, anyimmediateopt-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 asAutoAppliedAfterDateorForcedApplyDate.- 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 asAutoAppliedAfterDateorForcedApplyDate.
-
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 asAutoAppliedAfterDateorForcedApplyDate.- 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 asAutoAppliedAfterDateorForcedApplyDate.
-
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 asAutoAppliedAfterDateorForcedApplyDate.- 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 asAutoAppliedAfterDateorForcedApplyDate.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PendingMaintenanceAction clone()
-
-