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 SummaryEnum Constants Enum Constant Description GenericArmGenericX86GenericX86ArmUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Function.Shapecreate(String key)StringgetValue()static Function.ShapevalueOf(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- 
GenericX86public static final Function.Shape GenericX86 
 - 
GenericArmpublic static final Function.Shape GenericArm 
 - 
GenericX86Armpublic static final Function.Shape GenericX86Arm 
 - 
UnknownEnumValuepublic 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- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static Function.Shape create(String key) 
 
- 
 
-