@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedAction extends Object implements Serializable, Cloneable
The record of an upcoming or in-progress managed action.
Constructor and Description |
---|
ManagedAction() |
Modifier and Type | Method and 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.
|
public void setActionId(String actionId)
A unique identifier for the managed action.
actionId
- A unique identifier for the managed action.public String getActionId()
A unique identifier for the managed action.
public ManagedAction withActionId(String actionId)
A unique identifier for the managed action.
actionId
- A unique identifier for the managed action.public void setActionDescription(String actionDescription)
A description of the managed action.
actionDescription
- A description of the managed action.public String getActionDescription()
A description of the managed action.
public ManagedAction withActionDescription(String actionDescription)
A description of the managed action.
actionDescription
- A description of the managed action.public void setActionType(String actionType)
The type of managed action.
actionType
- The type of managed action.ActionType
public String getActionType()
The type of managed action.
ActionType
public ManagedAction withActionType(String actionType)
The type of managed action.
actionType
- The type of managed action.ActionType
public void setActionType(ActionType actionType)
The type of managed action.
actionType
- The type of managed action.ActionType
public ManagedAction withActionType(ActionType actionType)
The type of managed action.
actionType
- The type of managed action.ActionType
public void setStatus(String status)
The status of the managed action. If the action is Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.
status
- The status of the managed action. If the action is Scheduled
, you can apply it immediately
with ApplyEnvironmentManagedAction.ActionStatus
public String getStatus()
The status of the managed action. If the action is Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.
Scheduled
, you can apply it immediately
with ApplyEnvironmentManagedAction.ActionStatus
public ManagedAction withStatus(String status)
The status of the managed action. If the action is Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.
status
- The status of the managed action. If the action is Scheduled
, you can apply it immediately
with ApplyEnvironmentManagedAction.ActionStatus
public void setStatus(ActionStatus status)
The status of the managed action. If the action is Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.
status
- The status of the managed action. If the action is Scheduled
, you can apply it immediately
with ApplyEnvironmentManagedAction.ActionStatus
public ManagedAction withStatus(ActionStatus status)
The status of the managed action. If the action is Scheduled
, you can apply it immediately with
ApplyEnvironmentManagedAction.
status
- The status of the managed action. If the action is Scheduled
, you can apply it immediately
with ApplyEnvironmentManagedAction.ActionStatus
public void setWindowStartTime(Date windowStartTime)
The start time of the maintenance window in which the managed action will execute.
windowStartTime
- The start time of the maintenance window in which the managed action will execute.public Date getWindowStartTime()
The start time of the maintenance window in which the managed action will execute.
public ManagedAction withWindowStartTime(Date windowStartTime)
The start time of the maintenance window in which the managed action will execute.
windowStartTime
- The start time of the maintenance window in which the managed action will execute.public String toString()
toString
in class Object
Object.toString()
public ManagedAction clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.