Package com.oracle.bmc.functions.model
Enum Application.Shape
- java.lang.Object
-
- java.lang.Enum<Application.Shape>
-
- com.oracle.bmc.functions.model.Application.Shape
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Application.Shape>
- Enclosing class:
- Application
public static enum Application.Shape extends Enum<Application.Shape> implements BmcEnum
Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM.Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
-
-
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 Application.Shape
create(String key)
String
getValue()
static Application.Shape
valueOf(String name)
Returns the enum constant of this type with the specified name.static Application.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 Application.Shape GenericX86
-
GenericArm
public static final Application.Shape GenericArm
-
GenericX86Arm
public static final Application.Shape GenericX86Arm
-
UnknownEnumValue
public static final Application.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 Application.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 (Application.Shape c : Application.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 Application.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 Application.Shape create(String key)
-
-