Package com.oracle.bmc.functions.model
Enum Function.Shape
- java.lang.Object
-
- java.lang.Enum<Function.Shape>
-
- com.oracle.bmc.functions.model.Function.Shape
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Function.Shape>
- Enclosing class:
- Function
public static enum Function.Shape extends Enum<Function.Shape> implements BmcEnum
The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GenericArm
GenericX86
GenericX86Arm
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Function.Shape
create(String key)
String
getValue()
static Function.Shape
valueOf(String name)
Returns the enum constant of this type with the specified name.static Function.Shape[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GenericX86
public static final Function.Shape GenericX86
-
GenericArm
public static final Function.Shape GenericArm
-
GenericX86Arm
public static final Function.Shape GenericX86Arm
-
UnknownEnumValue
public static final Function.Shape 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 Function.Shape[] 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 (Function.Shape c : Function.Shape.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Function.Shape 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 Function.Shape create(String key)
-
-