Class ManagedAction
- All Implemented Interfaces:
Serializable
,Cloneable
The record of an upcoming or in-progress managed action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A description of the managed action.A unique identifier for the managed action.The type of managed action.The status of the managed action.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
The status of the managed action.void
setWindowStartTime
(Date windowStartTime) The start time of the maintenance window in which the managed action will execute.toString()
Returns a string representation of this object; useful for testing and debugging.withActionDescription
(String actionDescription) A description of the managed action.withActionId
(String actionId) A unique identifier for the managed action.withActionType
(ActionType actionType) The type of managed action.withActionType
(String actionType) The type of managed action.withStatus
(ActionStatus status) The status of the managed action.withStatus
(String status) The status of the managed action.withWindowStartTime
(Date windowStartTime) The start time of the maintenance window in which the managed action will execute.
-
Constructor Details
-
ManagedAction
public ManagedAction()
-
-
Method Details
-
setActionId
A unique identifier for the managed action.
- Parameters:
actionId
- A unique identifier for the managed action.
-
getActionId
A unique identifier for the managed action.
- Returns:
- A unique identifier for the managed action.
-
withActionId
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
A description of the managed action.
- Parameters:
actionDescription
- A description of the managed action.
-
getActionDescription
A description of the managed action.
- Returns:
- A description of the managed action.
-
withActionDescription
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
The type of managed action.
- Parameters:
actionType
- The type of managed action.- See Also:
-
getActionType
The type of managed action.
- Returns:
- The type of managed action.
- See Also:
-
withActionType
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:
-
setActionType
The type of managed action.
- Parameters:
actionType
- The type of managed action.- See Also:
-
withActionType
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:
-
setStatus
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:
-
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:
-
withStatus
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:
-
setStatus
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:
-
withStatus
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:
-
setWindowStartTime
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-