public class ManagedActionHistoryItem
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The record of a completed or failed 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 the managed action.
|
private java.util.Date |
executedTime
The date and time that the action started executing.
|
private java.lang.String |
failureDescription
If the action failed, a description of the failure.
|
private java.lang.String |
failureType
If the action failed, the type of failure.
|
private java.util.Date |
finishedTime
The date and time that the action finished executing.
|
private java.lang.String |
status
The status of the action.
|
Constructor and Description |
---|
ManagedActionHistoryItem() |
Modifier and Type | Method and Description |
---|---|
ManagedActionHistoryItem |
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 the managed action.
|
java.util.Date |
getExecutedTime()
The date and time that the action started executing.
|
java.lang.String |
getFailureDescription()
If the action failed, a description of the failure.
|
java.lang.String |
getFailureType()
If the action failed, the type of failure.
|
java.util.Date |
getFinishedTime()
The date and time that the action finished executing.
|
java.lang.String |
getStatus()
The status of the action.
|
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 the managed action.
|
void |
setActionType(java.lang.String actionType)
The type of the managed action.
|
void |
setExecutedTime(java.util.Date executedTime)
The date and time that the action started executing.
|
void |
setFailureDescription(java.lang.String failureDescription)
If the action failed, a description of the failure.
|
void |
setFailureType(FailureType failureType)
If the action failed, the type of failure.
|
void |
setFailureType(java.lang.String failureType)
If the action failed, the type of failure.
|
void |
setFinishedTime(java.util.Date finishedTime)
The date and time that the action finished executing.
|
void |
setStatus(ActionHistoryStatus status)
The status of the action.
|
void |
setStatus(java.lang.String status)
The status of the action.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ManagedActionHistoryItem |
withActionDescription(java.lang.String actionDescription)
A description of the managed action.
|
ManagedActionHistoryItem |
withActionId(java.lang.String actionId)
A unique identifier for the managed action.
|
ManagedActionHistoryItem |
withActionType(ActionType actionType)
The type of the managed action.
|
ManagedActionHistoryItem |
withActionType(java.lang.String actionType)
The type of the managed action.
|
ManagedActionHistoryItem |
withExecutedTime(java.util.Date executedTime)
The date and time that the action started executing.
|
ManagedActionHistoryItem |
withFailureDescription(java.lang.String failureDescription)
If the action failed, a description of the failure.
|
ManagedActionHistoryItem |
withFailureType(FailureType failureType)
If the action failed, the type of failure.
|
ManagedActionHistoryItem |
withFailureType(java.lang.String failureType)
If the action failed, the type of failure.
|
ManagedActionHistoryItem |
withFinishedTime(java.util.Date finishedTime)
The date and time that the action finished executing.
|
ManagedActionHistoryItem |
withStatus(ActionHistoryStatus status)
The status of the action.
|
ManagedActionHistoryItem |
withStatus(java.lang.String status)
The status of the action.
|
private java.lang.String actionId
A unique identifier for the managed action.
private java.lang.String actionType
The type of the managed action.
private java.lang.String actionDescription
A description of the managed action.
private java.lang.String failureType
If the action failed, the type of failure.
private java.lang.String status
The status of the action.
private java.lang.String failureDescription
If the action failed, a description of the failure.
private java.util.Date executedTime
The date and time that the action started executing.
private java.util.Date finishedTime
The date and time that the action finished executing.
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 ManagedActionHistoryItem withActionId(java.lang.String actionId)
A unique identifier for the managed action.
actionId
- A unique identifier for the managed action.public void setActionType(java.lang.String actionType)
The type of the managed action.
actionType
- The type of the managed action.ActionType
public java.lang.String getActionType()
The type of the managed action.
ActionType
public ManagedActionHistoryItem withActionType(java.lang.String actionType)
The type of the managed action.
actionType
- The type of the managed action.ActionType
public void setActionType(ActionType actionType)
The type of the managed action.
actionType
- The type of the managed action.ActionType
public ManagedActionHistoryItem withActionType(ActionType actionType)
The type of the managed action.
actionType
- The type of the managed action.ActionType
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 ManagedActionHistoryItem withActionDescription(java.lang.String actionDescription)
A description of the managed action.
actionDescription
- A description of the managed action.public void setFailureType(java.lang.String failureType)
If the action failed, the type of failure.
failureType
- If the action failed, the type of failure.FailureType
public java.lang.String getFailureType()
If the action failed, the type of failure.
FailureType
public ManagedActionHistoryItem withFailureType(java.lang.String failureType)
If the action failed, the type of failure.
failureType
- If the action failed, the type of failure.FailureType
public void setFailureType(FailureType failureType)
If the action failed, the type of failure.
failureType
- If the action failed, the type of failure.FailureType
public ManagedActionHistoryItem withFailureType(FailureType failureType)
If the action failed, the type of failure.
failureType
- If the action failed, the type of failure.FailureType
public void setStatus(java.lang.String status)
The status of the action.
status
- The status of the action.ActionHistoryStatus
public java.lang.String getStatus()
The status of the action.
ActionHistoryStatus
public ManagedActionHistoryItem withStatus(java.lang.String status)
The status of the action.
status
- The status of the action.ActionHistoryStatus
public void setStatus(ActionHistoryStatus status)
The status of the action.
status
- The status of the action.ActionHistoryStatus
public ManagedActionHistoryItem withStatus(ActionHistoryStatus status)
The status of the action.
status
- The status of the action.ActionHistoryStatus
public void setFailureDescription(java.lang.String failureDescription)
If the action failed, a description of the failure.
failureDescription
- If the action failed, a description of the failure.public java.lang.String getFailureDescription()
If the action failed, a description of the failure.
public ManagedActionHistoryItem withFailureDescription(java.lang.String failureDescription)
If the action failed, a description of the failure.
failureDescription
- If the action failed, a description of the failure.public void setExecutedTime(java.util.Date executedTime)
The date and time that the action started executing.
executedTime
- The date and time that the action started executing.public java.util.Date getExecutedTime()
The date and time that the action started executing.
public ManagedActionHistoryItem withExecutedTime(java.util.Date executedTime)
The date and time that the action started executing.
executedTime
- The date and time that the action started executing.public void setFinishedTime(java.util.Date finishedTime)
The date and time that the action finished executing.
finishedTime
- The date and time that the action finished executing.public java.util.Date getFinishedTime()
The date and time that the action finished executing.
public ManagedActionHistoryItem withFinishedTime(java.util.Date finishedTime)
The date and time that the action finished executing.
finishedTime
- The date and time that the action finished executing.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 ManagedActionHistoryItem clone()
clone
in class java.lang.Object