@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PendingMaintenanceAction extends Object implements Serializable, Cloneable, StructuredPojo
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 will be applied.
|
Date |
getCurrentApplyDate()
The effective date when the pending maintenance action will be applied to the resource.
|
String |
getDescription()
A description providing more detail about the maintenance action.
|
Date |
getForcedApplyDate()
The date when the maintenance action will be automatically applied.
|
String |
getOptInStatus()
Indicates the type of opt-in request that has been received for the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 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.
|
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 will be applied.
|
PendingMaintenanceAction |
withCurrentApplyDate(Date currentApplyDate)
The effective date when the pending maintenance action will be 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 will be 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 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 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(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(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 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(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(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 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 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
.
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 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(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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.