Class PendingMaintenanceAction
- All Implemented Interfaces:
Serializable, Cloneable
Provides information about a pending maintenance action for a resource.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe type of pending maintenance action that is available for the resource.The date of the maintenance window when the action will be applied.The effective date when the pending maintenance action will be applied to the resource.A description providing more detail about the maintenance action.The date when the maintenance action will be automatically applied.Indicates the type of opt-in request that has been received for the resource.inthashCode()voidThe 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.toString()Returns a string representation of this object; useful for testing and debugging.withAction(String action) The type of pending maintenance action that is available for the resource.withAutoAppliedAfterDate(Date autoAppliedAfterDate) The date of the maintenance window when the action will be applied.withCurrentApplyDate(Date currentApplyDate) The effective date when the pending maintenance action will be applied to the resource.withDescription(String description) A description providing more detail about the maintenance action.withForcedApplyDate(Date forcedApplyDate) The date when the maintenance action will be automatically applied.withOptInStatus(String optInStatus) Indicates the type of opt-in request that has been received for the resource.
-
Constructor Details
-
PendingMaintenanceAction
public PendingMaintenanceAction()
-
-
Method Details
-
setAction
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
A description providing more detail about the maintenance action.
- Parameters:
description- A description providing more detail about the maintenance action.
-
getDescription
A description providing more detail about the maintenance action.
- Returns:
- A description providing more detail about the maintenance action.
-
withDescription
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
-
equals
-
hashCode
-
clone
-