public class PendingMaintenanceAction
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides information about a pending maintenance action for a resource.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
action
The type of pending maintenance action that is available for the
resource.
|
private java.util.Date |
autoAppliedAfterDate
The date of the maintenance window when the action will be applied.
|
private java.util.Date |
currentApplyDate
The effective date when the pending maintenance action will be applied to
the resource.
|
private java.lang.String |
description
A description providing more detail about the maintenance action.
|
private java.util.Date |
forcedApplyDate
The date when the maintenance action will be automatically applied.
|
private java.lang.String |
optInStatus
Indicates the type of opt-in request that has been received for the
resource.
|
Constructor and Description |
---|
PendingMaintenanceAction() |
Modifier and Type | Method and Description |
---|---|
PendingMaintenanceAction |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAction()
The type of pending maintenance action that is available for the
resource.
|
java.util.Date |
getAutoAppliedAfterDate()
The date of the maintenance window when the action will be applied.
|
java.util.Date |
getCurrentApplyDate()
The effective date when the pending maintenance action will be applied to
the resource.
|
java.lang.String |
getDescription()
A description providing more detail about the maintenance action.
|
java.util.Date |
getForcedApplyDate()
The date when the maintenance action will be automatically applied.
|
java.lang.String |
getOptInStatus()
Indicates the type of opt-in request that has been received for the
resource.
|
int |
hashCode() |
void |
setAction(java.lang.String action)
The type of pending maintenance action that is available for the
resource.
|
void |
setAutoAppliedAfterDate(java.util.Date autoAppliedAfterDate)
The date of the maintenance window when the action will be applied.
|
void |
setCurrentApplyDate(java.util.Date currentApplyDate)
The effective date when the pending maintenance action will be applied to
the resource.
|
void |
setDescription(java.lang.String description)
A description providing more detail about the maintenance action.
|
void |
setForcedApplyDate(java.util.Date forcedApplyDate)
The date when the maintenance action will be automatically applied.
|
void |
setOptInStatus(java.lang.String optInStatus)
Indicates the type of opt-in request that has been received for the
resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PendingMaintenanceAction |
withAction(java.lang.String action)
The type of pending maintenance action that is available for the
resource.
|
PendingMaintenanceAction |
withAutoAppliedAfterDate(java.util.Date autoAppliedAfterDate)
The date of the maintenance window when the action will be applied.
|
PendingMaintenanceAction |
withCurrentApplyDate(java.util.Date currentApplyDate)
The effective date when the pending maintenance action will be applied to
the resource.
|
PendingMaintenanceAction |
withDescription(java.lang.String description)
A description providing more detail about the maintenance action.
|
PendingMaintenanceAction |
withForcedApplyDate(java.util.Date forcedApplyDate)
The date when the maintenance action will be automatically applied.
|
PendingMaintenanceAction |
withOptInStatus(java.lang.String optInStatus)
Indicates the type of opt-in request that has been received for the
resource.
|
private java.lang.String action
The type of pending maintenance action that is available for the resource.
private java.util.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.
private java.util.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.
private java.lang.String optInStatus
Indicates the type of opt-in request that has been received for the resource.
private java.util.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 the ForcedApplyDate
.
This value is blank if an opt-in request has not been received and
nothing has been specified as AutoAppliedAfterDate
or
ForcedApplyDate
.
private java.lang.String description
A description providing more detail about the maintenance action.
public void setAction(java.lang.String action)
The type of pending maintenance action that is available for the resource.
action
- The type of pending maintenance action that is available for the
resource.public java.lang.String getAction()
The type of pending maintenance action that is available for the resource.
public PendingMaintenanceAction withAction(java.lang.String action)
The type of pending maintenance action that is available for the resource.
action
- The type of pending maintenance action that is available for the
resource.public void setAutoAppliedAfterDate(java.util.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.
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 java.util.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.
next-maintenance
opt-in requests
are ignored.public PendingMaintenanceAction withAutoAppliedAfterDate(java.util.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.
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 void setForcedApplyDate(java.util.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.
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 java.util.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.
immediate
opt-in requests are ignored.public PendingMaintenanceAction withForcedApplyDate(java.util.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.
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 void setOptInStatus(java.lang.String optInStatus)
Indicates the type of opt-in request that has been received for the resource.
optInStatus
- Indicates the type of opt-in request that has been received for
the resource.public java.lang.String getOptInStatus()
Indicates the type of opt-in request that has been received for the resource.
public PendingMaintenanceAction withOptInStatus(java.lang.String optInStatus)
Indicates the type of opt-in request that has been received for the resource.
optInStatus
- Indicates the type of opt-in request that has been received for
the resource.public void setCurrentApplyDate(java.util.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 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 java.util.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 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 PendingMaintenanceAction withCurrentApplyDate(java.util.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 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 void setDescription(java.lang.String description)
A description providing more detail about the maintenance action.
description
- A description providing more detail about the maintenance action.public java.lang.String getDescription()
A description providing more detail about the maintenance action.
public PendingMaintenanceAction withDescription(java.lang.String description)
A description providing more detail about the maintenance action.
description
- A description providing more detail about the maintenance action.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PendingMaintenanceAction clone()
clone
in class java.lang.Object