@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.
action
- The type of pending maintenance action that is available for the resource.public String getAction()
The type of pending maintenance action that is available for the resource.
public PendingMaintenanceAction withAction(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(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. If this date is specified, any next-maintenance
opt-in requests are ignored.
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. If this date is specified, any
next-maintenance
opt-in requests are ignored.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. If this date is specified, any next-maintenance
opt-in requests are ignored.
next-maintenance
opt-in requests are ignored.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. If this date is specified, any next-maintenance
opt-in requests are ignored.
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. If this date is specified, any
next-maintenance
opt-in requests are ignored.public void setForcedApplyDate(Date forcedApplyDate)
The date when the maintenance action is automatically applied. The maintenance action is 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 is automatically applied. The maintenance action is 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 Date getForcedApplyDate()
The date when the maintenance action is automatically applied. The maintenance action is 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(Date forcedApplyDate)
The date when the maintenance action is automatically applied. The maintenance action is 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 is automatically applied. The maintenance action is 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(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.
currentApplyDate
- The effective date when the pending maintenance action is applied to the resource.public Date getCurrentApplyDate()
The effective date when the pending maintenance action is applied to the resource.
public PendingMaintenanceAction withCurrentApplyDate(Date currentApplyDate)
The effective date when the pending maintenance action is applied to the resource.
currentApplyDate
- The effective date when the pending maintenance action is applied to the resource.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()