public static enum InstanceAgentCommandExecutionSummary.LifecycleState extends Enum<InstanceAgentCommandExecutionSummary.LifecycleState>
The command execution lifecycle state.
ACCEPTED
- The command has been accepted to run.IN_PROGRESS
- The command is in progress.SUCCEEDED
- The command was successfully executed.FAILED
- The command failed to execute.TIMED_OUT
- The command execution timed out.CANCELED
- The command execution was canceled.Enum Constant and Description |
---|
Accepted |
Canceled |
Failed |
InProgress |
Succeeded |
TimedOut |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static InstanceAgentCommandExecutionSummary.LifecycleState |
create(String key) |
String |
getValue() |
static InstanceAgentCommandExecutionSummary.LifecycleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceAgentCommandExecutionSummary.LifecycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceAgentCommandExecutionSummary.LifecycleState Accepted
public static final InstanceAgentCommandExecutionSummary.LifecycleState InProgress
public static final InstanceAgentCommandExecutionSummary.LifecycleState Succeeded
public static final InstanceAgentCommandExecutionSummary.LifecycleState Failed
public static final InstanceAgentCommandExecutionSummary.LifecycleState TimedOut
public static final InstanceAgentCommandExecutionSummary.LifecycleState Canceled
public static final InstanceAgentCommandExecutionSummary.LifecycleState UnknownEnumValue
public static InstanceAgentCommandExecutionSummary.LifecycleState[] values()
for (InstanceAgentCommandExecutionSummary.LifecycleState c : InstanceAgentCommandExecutionSummary.LifecycleState.values()) System.out.println(c);
public static InstanceAgentCommandExecutionSummary.LifecycleState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public static InstanceAgentCommandExecutionSummary.LifecycleState create(String key)
Copyright © 2016–2022. All rights reserved.