Class ManagedAction
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.ManagedAction
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ManagedAction extends Object implements Serializable, Cloneable
The record of an upcoming or in-progress managed action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedAction
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 managed action.String
getStatus()
The status of the managed action.Date
getWindowStartTime()
The start time of the maintenance window in which the managed action will execute.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 managed action.void
setActionType(String actionType)
The type of managed action.void
setStatus(ActionStatus status)
The status of the managed action.void
setStatus(String status)
The status of the managed action.void
setWindowStartTime(Date windowStartTime)
The start time of the maintenance window in which the managed action will execute.String
toString()
Returns a string representation of this object; useful for testing and debugging.ManagedAction
withActionDescription(String actionDescription)
A description of the managed action.ManagedAction
withActionId(String actionId)
A unique identifier for the managed action.ManagedAction
withActionType(ActionType actionType)
The type of managed action.ManagedAction
withActionType(String actionType)
The type of managed action.ManagedAction
withStatus(ActionStatus status)
The status of the managed action.ManagedAction
withStatus(String status)
The status of the managed action.ManagedAction
withWindowStartTime(Date windowStartTime)
The start time of the maintenance window in which the managed action will execute.
-
-
-
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 ManagedAction 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.
-
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 ManagedAction 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.
-
setActionType
public void setActionType(String actionType)
The type of managed action.
- Parameters:
actionType
- The type of managed action.- See Also:
ActionType
-
getActionType
public String getActionType()
The type of managed action.
- Returns:
- The type of managed action.
- See Also:
ActionType
-
withActionType
public ManagedAction withActionType(String actionType)
The type of managed action.
- Parameters:
actionType
- The type of 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 managed action.
- Parameters:
actionType
- The type of managed action.- See Also:
ActionType
-
withActionType
public ManagedAction withActionType(ActionType actionType)
The type of managed action.
- Parameters:
actionType
- The type of managed action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionType
-
setStatus
public void setStatus(String status)
The status of the managed action. If the action is
Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.- Parameters:
status
- The status of the managed action. If the action isScheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.- See Also:
ActionStatus
-
getStatus
public String getStatus()
The status of the managed action. If the action is
Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.- Returns:
- The status of the managed action. If the action is
Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction. - See Also:
ActionStatus
-
withStatus
public ManagedAction withStatus(String status)
The status of the managed action. If the action is
Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.- Parameters:
status
- The status of the managed action. If the action isScheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionStatus
-
setStatus
public void setStatus(ActionStatus status)
The status of the managed action. If the action is
Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.- Parameters:
status
- The status of the managed action. If the action isScheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.- See Also:
ActionStatus
-
withStatus
public ManagedAction withStatus(ActionStatus status)
The status of the managed action. If the action is
Scheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.- Parameters:
status
- The status of the managed action. If the action isScheduled
, you can apply it immediately with ApplyEnvironmentManagedAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionStatus
-
setWindowStartTime
public void setWindowStartTime(Date windowStartTime)
The start time of the maintenance window in which the managed action will execute.
- Parameters:
windowStartTime
- The start time of the maintenance window in which the managed action will execute.
-
getWindowStartTime
public Date getWindowStartTime()
The start time of the maintenance window in which the managed action will execute.
- Returns:
- The start time of the maintenance window in which the managed action will execute.
-
withWindowStartTime
public ManagedAction withWindowStartTime(Date windowStartTime)
The start time of the maintenance window in which the managed action will execute.
- Parameters:
windowStartTime
- The start time of the maintenance window in which the managed action will execute.- 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 ManagedAction clone()
-
-