Package com.oracle.bmc.ailanguage.model
Enum CreateEndpointDetails.ComputeType
- java.lang.Object
-
- java.lang.Enum<CreateEndpointDetails.ComputeType>
-
- com.oracle.bmc.ailanguage.model.CreateEndpointDetails.ComputeType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateEndpointDetails.ComputeType>
- Enclosing class:
- CreateEndpointDetails
public static enum CreateEndpointDetails.ComputeType extends Enum<CreateEndpointDetails.ComputeType> implements BmcEnum
Compute infra type for endpoint.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateEndpointDetails.ComputeType
create(String key)
String
getValue()
static CreateEndpointDetails.ComputeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateEndpointDetails.ComputeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Cpu
public static final CreateEndpointDetails.ComputeType Cpu
-
Gpu
public static final CreateEndpointDetails.ComputeType Gpu
-
-
Method Detail
-
values
public static CreateEndpointDetails.ComputeType[] 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 (CreateEndpointDetails.ComputeType c : CreateEndpointDetails.ComputeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateEndpointDetails.ComputeType 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 CreateEndpointDetails.ComputeType create(String key)
-
-