Class ManagedActionHistoryItem
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.ManagedActionHistoryItem
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ManagedActionHistoryItem extends Object implements Serializable, Cloneable
The record of a completed or failed managed action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedActionHistoryItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedActionHistoryItem
clone()
boolean
equals(Object obj)
String
getActionDescription()
A description of the managed action.String
getActionId()
A unique identifier for the managed action.String
getActionType()
The type of the managed action.Date
getExecutedTime()
The date and time that the action started executing.String
getFailureDescription()
If the action failed, a description of the failure.String
getFailureType()
If the action failed, the type of failure.Date
getFinishedTime()
The date and time that the action finished executing.String
getStatus()
The status of the action.int
hashCode()
void
setActionDescription(String actionDescription)
A description of the managed action.void
setActionId(String actionId)
A unique identifier for the managed action.void
setActionType(ActionType actionType)
The type of the managed action.void
setActionType(String actionType)
The type of the managed action.void
setExecutedTime(Date executedTime)
The date and time that the action started executing.void
setFailureDescription(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(String failureType)
If the action failed, the type of failure.void
setFinishedTime(Date finishedTime)
The date and time that the action finished executing.void
setStatus(ActionHistoryStatus status)
The status of the action.void
setStatus(String status)
The status of the action.String
toString()
Returns a string representation of this object; useful for testing and debugging.ManagedActionHistoryItem
withActionDescription(String actionDescription)
A description of the managed action.ManagedActionHistoryItem
withActionId(String actionId)
A unique identifier for the managed action.ManagedActionHistoryItem
withActionType(ActionType actionType)
The type of the managed action.ManagedActionHistoryItem
withActionType(String actionType)
The type of the managed action.ManagedActionHistoryItem
withExecutedTime(Date executedTime)
The date and time that the action started executing.ManagedActionHistoryItem
withFailureDescription(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(String failureType)
If the action failed, the type of failure.ManagedActionHistoryItem
withFinishedTime(Date finishedTime)
The date and time that the action finished executing.ManagedActionHistoryItem
withStatus(ActionHistoryStatus status)
The status of the action.ManagedActionHistoryItem
withStatus(String status)
The status of the action.
-
-
-
Method Detail
-
setActionId
public void setActionId(String actionId)
A unique identifier for the managed action.
- Parameters:
actionId
- A unique identifier for the managed action.
-
getActionId
public String getActionId()
A unique identifier for the managed action.
- Returns:
- A unique identifier for the managed action.
-
withActionId
public ManagedActionHistoryItem withActionId(String actionId)
A unique identifier for the managed action.
- Parameters:
actionId
- A unique identifier for the managed action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setActionType
public void setActionType(String actionType)
The type of the managed action.
- Parameters:
actionType
- The type of the managed action.- See Also:
ActionType
-
getActionType
public String getActionType()
The type of the managed action.
- Returns:
- The type of the managed action.
- See Also:
ActionType
-
withActionType
public ManagedActionHistoryItem withActionType(String actionType)
The type of the managed action.
- Parameters:
actionType
- The type of the managed action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionType
-
setActionType
public void setActionType(ActionType actionType)
The type of the managed action.
- Parameters:
actionType
- The type of the managed action.- See Also:
ActionType
-
withActionType
public ManagedActionHistoryItem withActionType(ActionType actionType)
The type of the managed action.
- Parameters:
actionType
- The type of the managed action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionType
-
setActionDescription
public void setActionDescription(String actionDescription)
A description of the managed action.
- Parameters:
actionDescription
- A description of the managed action.
-
getActionDescription
public String getActionDescription()
A description of the managed action.
- Returns:
- A description of the managed action.
-
withActionDescription
public ManagedActionHistoryItem withActionDescription(String actionDescription)
A description of the managed action.
- Parameters:
actionDescription
- A description of the managed action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFailureType
public void setFailureType(String failureType)
If the action failed, the type of failure.
- Parameters:
failureType
- If the action failed, the type of failure.- See Also:
FailureType
-
getFailureType
public String getFailureType()
If the action failed, the type of failure.
- Returns:
- If the action failed, the type of failure.
- See Also:
FailureType
-
withFailureType
public ManagedActionHistoryItem withFailureType(String failureType)
If the action failed, the type of failure.
- Parameters:
failureType
- If the action failed, the type of failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailureType
-
setFailureType
public void setFailureType(FailureType failureType)
If the action failed, the type of failure.
- Parameters:
failureType
- If the action failed, the type of failure.- See Also:
FailureType
-
withFailureType
public ManagedActionHistoryItem withFailureType(FailureType failureType)
If the action failed, the type of failure.
- Parameters:
failureType
- If the action failed, the type of failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailureType
-
setStatus
public void setStatus(String status)
The status of the action.
- Parameters:
status
- The status of the action.- See Also:
ActionHistoryStatus
-
getStatus
public String getStatus()
The status of the action.
- Returns:
- The status of the action.
- See Also:
ActionHistoryStatus
-
withStatus
public ManagedActionHistoryItem withStatus(String status)
The status of the action.
- Parameters:
status
- The status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionHistoryStatus
-
setStatus
public void setStatus(ActionHistoryStatus status)
The status of the action.
- Parameters:
status
- The status of the action.- See Also:
ActionHistoryStatus
-
withStatus
public ManagedActionHistoryItem withStatus(ActionHistoryStatus status)
The status of the action.
- Parameters:
status
- The status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionHistoryStatus
-
setFailureDescription
public void setFailureDescription(String failureDescription)
If the action failed, a description of the failure.
- Parameters:
failureDescription
- If the action failed, a description of the failure.
-
getFailureDescription
public String getFailureDescription()
If the action failed, a description of the failure.
- Returns:
- If the action failed, a description of the failure.
-
withFailureDescription
public ManagedActionHistoryItem withFailureDescription(String failureDescription)
If the action failed, a description of the failure.
- Parameters:
failureDescription
- If the action failed, a description of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExecutedTime
public void setExecutedTime(Date executedTime)
The date and time that the action started executing.
- Parameters:
executedTime
- The date and time that the action started executing.
-
getExecutedTime
public Date getExecutedTime()
The date and time that the action started executing.
- Returns:
- The date and time that the action started executing.
-
withExecutedTime
public ManagedActionHistoryItem withExecutedTime(Date executedTime)
The date and time that the action started executing.
- Parameters:
executedTime
- The date and time that the action started executing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFinishedTime
public void setFinishedTime(Date finishedTime)
The date and time that the action finished executing.
- Parameters:
finishedTime
- The date and time that the action finished executing.
-
getFinishedTime
public Date getFinishedTime()
The date and time that the action finished executing.
- Returns:
- The date and time that the action finished executing.
-
withFinishedTime
public ManagedActionHistoryItem withFinishedTime(Date finishedTime)
The date and time that the action finished executing.
- Parameters:
finishedTime
- The date and time that the action finished executing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ManagedActionHistoryItem clone()
-
-