Enum InstanceAgentCommandExecution.DeliveryState
- java.lang.Object
-
- java.lang.Enum<InstanceAgentCommandExecution.DeliveryState>
-
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentCommandExecution.DeliveryState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<InstanceAgentCommandExecution.DeliveryState>
- Enclosing class:
- InstanceAgentCommandExecution
public static enum InstanceAgentCommandExecution.DeliveryState extends Enum<InstanceAgentCommandExecution.DeliveryState> implements BmcEnum
Specifies the command delivery state.- VISIBLE - The command is visible to instance.
- PENDING - The command is pending ack from the instance. * ACKED - The command has been received and acked by the instance. * ACKED_CANCELED - The canceled command has been received and acked by the instance. * EXPIRED - The instance has not requested for commands and its delivery has expired.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Acked
AckedCanceled
Expired
Pending
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Visible
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceAgentCommandExecution.DeliveryState
create(String key)
String
getValue()
static InstanceAgentCommandExecution.DeliveryState
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstanceAgentCommandExecution.DeliveryState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Visible
public static final InstanceAgentCommandExecution.DeliveryState Visible
-
Pending
public static final InstanceAgentCommandExecution.DeliveryState Pending
-
Acked
public static final InstanceAgentCommandExecution.DeliveryState Acked
-
AckedCanceled
public static final InstanceAgentCommandExecution.DeliveryState AckedCanceled
-
Expired
public static final InstanceAgentCommandExecution.DeliveryState Expired
-
UnknownEnumValue
public static final InstanceAgentCommandExecution.DeliveryState UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static InstanceAgentCommandExecution.DeliveryState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InstanceAgentCommandExecution.DeliveryState c : InstanceAgentCommandExecution.DeliveryState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstanceAgentCommandExecution.DeliveryState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static InstanceAgentCommandExecution.DeliveryState create(String key)
-
-