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 ManagedActionclone()booleanequals(Object obj)StringgetActionDescription()A description of the managed action.StringgetActionId()A unique identifier for the managed action.StringgetActionType()The type of managed action.StringgetStatus()The status of the managed action.DategetWindowStartTime()The start time of the maintenance window in which the managed action will execute.inthashCode()voidsetActionDescription(String actionDescription)A description of the managed action.voidsetActionId(String actionId)A unique identifier for the managed action.voidsetActionType(ActionType actionType)The type of managed action.voidsetActionType(String actionType)The type of managed action.voidsetStatus(ActionStatus status)The status of the managed action.voidsetStatus(String status)The status of the managed action.voidsetWindowStartTime(Date windowStartTime)The start time of the maintenance window in which the managed action will execute.StringtoString()Returns a string representation of this object; useful for testing and debugging.ManagedActionwithActionDescription(String actionDescription)A description of the managed action.ManagedActionwithActionId(String actionId)A unique identifier for the managed action.ManagedActionwithActionType(ActionType actionType)The type of managed action.ManagedActionwithActionType(String actionType)The type of managed action.ManagedActionwithStatus(ActionStatus status)The status of the managed action.ManagedActionwithStatus(String status)The status of the managed action.ManagedActionwithWindowStartTime(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ManagedAction clone()
-
-