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()
boolean
The 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.int
hashCode()
void
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.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-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
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
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
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
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
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
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 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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-