Package com.oracle.bmc.functions.model
Enum ApplicationSummary.Shape
- java.lang.Object
-
- java.lang.Enum<ApplicationSummary.Shape>
-
- com.oracle.bmc.functions.model.ApplicationSummary.Shape
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ApplicationSummary.Shape>
- Enclosing class:
- ApplicationSummary
public static enum ApplicationSummary.Shape extends Enum<ApplicationSummary.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 ApplicationSummary.Shape
create(String key)
String
getValue()
static ApplicationSummary.Shape
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApplicationSummary.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 ApplicationSummary.Shape GenericX86
-
GenericArm
public static final ApplicationSummary.Shape GenericArm
-
GenericX86Arm
public static final ApplicationSummary.Shape GenericX86Arm
-
UnknownEnumValue
public static final ApplicationSummary.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 ApplicationSummary.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 (ApplicationSummary.Shape c : ApplicationSummary.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 ApplicationSummary.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 ApplicationSummary.Shape create(String key)
-
-