public class ManagedAction
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The record of an upcoming or in-progress managed action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
actionDescription
A description of the managed action.
|
private java.lang.String |
actionId
A unique identifier for the managed action.
|
private java.lang.String |
actionType
The type of managed action.
|
private java.lang.String |
status
The status of the managed action.
|
private java.util.Date |
windowStartTime
The start time of the maintenance window in which the managed action will
execute.
|
Constructor and Description |
---|
ManagedAction() |
Modifier and Type | Method and Description |
---|---|
ManagedAction |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActionDescription()
A description of the managed action.
|
java.lang.String |
getActionId()
A unique identifier for the managed action.
|
java.lang.String |
getActionType()
The type of managed action.
|
java.lang.String |
getStatus()
The status of the managed action.
|
java.util.Date |
getWindowStartTime()
The start time of the maintenance window in which the managed action will
execute.
|
int |
hashCode() |
void |
setActionDescription(java.lang.String actionDescription)
A description of the managed action.
|
void |
setActionId(java.lang.String actionId)
A unique identifier for the managed action.
|
void |
setActionType(ActionType actionType)
The type of managed action.
|
void |
setActionType(java.lang.String actionType)
The type of managed action.
|
void |
setStatus(ActionStatus status)
The status of the managed action.
|
void |
setStatus(java.lang.String status)
The status of the managed action.
|
void |
setWindowStartTime(java.util.Date windowStartTime)
The start time of the maintenance window in which the managed action will
execute.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ManagedAction |
withActionDescription(java.lang.String actionDescription)
A description of the managed action.
|
ManagedAction |
withActionId(java.lang.String actionId)
A unique identifier for the managed action.
|
ManagedAction |
withActionType(ActionType actionType)
The type of managed action.
|
ManagedAction |
withActionType(java.lang.String actionType)
The type of managed action.
|
ManagedAction |
withStatus(ActionStatus status)
The status of the managed action.
|
ManagedAction |
withStatus(java.lang.String status)
The status of the managed action.
|
ManagedAction |
withWindowStartTime(java.util.Date windowStartTime)
The start time of the maintenance window in which the managed action will
execute.
|
private java.lang.String actionId
A unique identifier for the managed action.
private java.lang.String actionDescription
A description of the managed action.
private java.lang.String actionType
The type of managed action.
private java.lang.String status
The status of the managed action. If the action is Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.
private java.util.Date windowStartTime
The start time of the maintenance window in which the managed action will execute.
public void setActionId(java.lang.String actionId)
A unique identifier for the managed action.
actionId
- A unique identifier for the managed action.public java.lang.String getActionId()
A unique identifier for the managed action.
public ManagedAction withActionId(java.lang.String actionId)
A unique identifier for the managed action.
actionId
- A unique identifier for the managed action.public void setActionDescription(java.lang.String actionDescription)
A description of the managed action.
actionDescription
- A description of the managed action.public java.lang.String getActionDescription()
A description of the managed action.
public ManagedAction withActionDescription(java.lang.String actionDescription)
A description of the managed action.
actionDescription
- A description of the managed action.public void setActionType(java.lang.String actionType)
The type of managed action.
actionType
- The type of managed action.ActionType
public java.lang.String getActionType()
The type of managed action.
ActionType
public ManagedAction withActionType(java.lang.String actionType)
The type of managed action.
actionType
- The type of managed action.ActionType
public void setActionType(ActionType actionType)
The type of managed action.
actionType
- The type of managed action.ActionType
public ManagedAction withActionType(ActionType actionType)
The type of managed action.
actionType
- The type of managed action.ActionType
public void setStatus(java.lang.String status)
The status of the managed action. If the action is Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.
status
- The status of the managed action. If the action is
Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.ActionStatus
public java.lang.String getStatus()
The status of the managed action. If the action is Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.
Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.ActionStatus
public ManagedAction withStatus(java.lang.String status)
The status of the managed action. If the action is Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.
status
- The status of the managed action. If the action is
Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.ActionStatus
public void setStatus(ActionStatus status)
The status of the managed action. If the action is Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.
status
- The status of the managed action. If the action is
Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.ActionStatus
public ManagedAction withStatus(ActionStatus status)
The status of the managed action. If the action is Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.
status
- The status of the managed action. If the action is
Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.ActionStatus
public void setWindowStartTime(java.util.Date windowStartTime)
The start time of the maintenance window in which the managed action will execute.
windowStartTime
- The start time of the maintenance window in which the managed
action will execute.public java.util.Date getWindowStartTime()
The start time of the maintenance window in which the managed action will execute.
public ManagedAction withWindowStartTime(java.util.Date windowStartTime)
The start time of the maintenance window in which the managed action will execute.
windowStartTime
- The start time of the maintenance window in which the managed
action will execute.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 ManagedAction clone()
clone
in class java.lang.Object