Enum CancelSandboxCommandDetails.Signal
- java.lang.Object
-
- java.lang.Enum<CancelSandboxCommandDetails.Signal>
-
- com.oracle.bmc.generativeaisandbox.model.CancelSandboxCommandDetails.Signal
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<CancelSandboxCommandDetails.Signal>
- Enclosing class:
- CancelSandboxCommandDetails
public static enum CancelSandboxCommandDetails.Signal extends Enum<CancelSandboxCommandDetails.Signal> implements BmcEnum
Signal to send to the running command.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CancelSandboxCommandDetails.Signalcreate(String key)StringgetValue()static CancelSandboxCommandDetails.SignalvalueOf(String name)Returns the enum constant of this type with the specified name.static CancelSandboxCommandDetails.Signal[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Sigterm
public static final CancelSandboxCommandDetails.Signal Sigterm
-
Sigkill
public static final CancelSandboxCommandDetails.Signal Sigkill
-
-
Method Detail
-
values
public static CancelSandboxCommandDetails.Signal[] 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 (CancelSandboxCommandDetails.Signal c : CancelSandboxCommandDetails.Signal.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CancelSandboxCommandDetails.Signal 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 CancelSandboxCommandDetails.Signal create(String key)
-
-