@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PendingMaintenanceAction extends Object implements Serializable, Cloneable
Provides information about a pending maintenance action for a resource.
Constructor and Description |
---|
PendingMaintenanceAction() |
Modifier and Type | Method and 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 is applied.
|
Date |
getCurrentApplyDate()
The effective date when the pending maintenance action is applied to the resource.
|
String |
getDescription()
A description providing more detail about the maintenance action.
|
Date |
getForcedApplyDate()
The date when the maintenance action is 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 is applied.
|
void |
setCurrentApplyDate(Date currentApplyDate)
The effective date when the pending maintenance action is 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 is 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.
|
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 is applied.
|
PendingMaintenanceAction |
withCurrentApplyDate(Date currentApplyDate)
The effective date when the pending maintenance action is 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 is automatically applied.
|
PendingMaintenanceAction |
withOptInStatus(String optInStatus)
Indicates the type of opt-in request that has been received for the resource.
|
public void setAction(String action)
The type of pending maintenance action that is available for the resource.
For more information about maintenance actions, see Maintaining a DB instance.
Valid Values: system-update | db-upgrade | hardware-maintenance | ca-certificate-rotation
action
- The type of pending maintenance action that is available for the resource.
For more information about maintenance actions, see Maintaining a DB instance.
Valid Values: system-update | db-upgrade | hardware-maintenance | ca-certificate-rotation
public String getAction()
The type of pending maintenance action that is available for the resource.
For more information about maintenance actions, see Maintaining a DB instance.
Valid Values: system-update | db-upgrade | hardware-maintenance | ca-certificate-rotation
For more information about maintenance actions, see Maintaining a DB instance.
Valid Values: system-update | db-upgrade | hardware-maintenance | ca-certificate-rotation
public PendingMaintenanceAction withAction(String action)
The type of pending maintenance action that is available for the resource.
For more information about maintenance actions, see Maintaining a DB instance.
Valid Values: system-update | db-upgrade | hardware-maintenance | ca-certificate-rotation
action
- The type of pending maintenance action that is available for the resource.
For more information about maintenance actions, see Maintaining a DB instance.
Valid Values: system-update | db-upgrade | hardware-maintenance | ca-certificate-rotation
public void setAutoAppliedAfterDate(Date autoAppliedAfterDate)
The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date.
autoAppliedAfterDate
- The date of the maintenance window when the action is applied. The maintenance action is applied to the
resource during its first maintenance window after this date.public Date getAutoAppliedAfterDate()
The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date.
public PendingMaintenanceAction withAutoAppliedAfterDate(Date autoAppliedAfterDate)
The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date.
autoAppliedAfterDate
- The date of the maintenance window when the action is applied. The maintenance action is applied to the
resource during its first maintenance window after this date.public void setForcedApplyDate(Date forcedApplyDate)
The date when the maintenance action is automatically applied.
On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.
forcedApplyDate
- The date when the maintenance action is automatically applied.
On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.
public Date getForcedApplyDate()
The date when the maintenance action is automatically applied.
On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.
On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.
public PendingMaintenanceAction withForcedApplyDate(Date forcedApplyDate)
The date when the maintenance action is automatically applied.
On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.
forcedApplyDate
- The date when the maintenance action is automatically applied.
On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.
public void setOptInStatus(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 String getOptInStatus()
Indicates the type of opt-in request that has been received for the resource.
public PendingMaintenanceAction withOptInStatus(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(Date currentApplyDate)
The effective date when the pending maintenance action is 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 is 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 Date getCurrentApplyDate()
The effective date when the pending maintenance action is 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
.
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 PendingMaintenanceAction withCurrentApplyDate(Date currentApplyDate)
The effective date when the pending maintenance action is 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 is 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(String description)
A description providing more detail about the maintenance action.
description
- A description providing more detail about the maintenance action.public String getDescription()
A description providing more detail about the maintenance action.
public PendingMaintenanceAction withDescription(String description)
A description providing more detail about the maintenance action.
description
- A description providing more detail about the maintenance action.public String toString()
toString
in class Object
Object.toString()
public PendingMaintenanceAction clone()