Enum VmTargetAsset.PreferredShapeType
- java.lang.Object
-
- java.lang.Enum<VmTargetAsset.PreferredShapeType>
-
- com.oracle.bmc.cloudmigrations.model.VmTargetAsset.PreferredShapeType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<VmTargetAsset.PreferredShapeType>
- Enclosing class:
- VmTargetAsset
public static enum VmTargetAsset.PreferredShapeType extends Enum<VmTargetAsset.PreferredShapeType> implements BmcEnum
Preferred VM shape type that you provide.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Vm
VmAmd
VmAmdStandard
VmIntel
VmIntelDensIo
VmIntelGpu
VmIntelOptimized
VmIntelStandard
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VmTargetAsset.PreferredShapeType
create(String key)
String
getValue()
static VmTargetAsset.PreferredShapeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VmTargetAsset.PreferredShapeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Vm
public static final VmTargetAsset.PreferredShapeType Vm
-
VmIntel
public static final VmTargetAsset.PreferredShapeType VmIntel
-
VmIntelStandard
public static final VmTargetAsset.PreferredShapeType VmIntelStandard
-
VmIntelDensIo
public static final VmTargetAsset.PreferredShapeType VmIntelDensIo
-
VmIntelGpu
public static final VmTargetAsset.PreferredShapeType VmIntelGpu
-
VmIntelOptimized
public static final VmTargetAsset.PreferredShapeType VmIntelOptimized
-
VmAmd
public static final VmTargetAsset.PreferredShapeType VmAmd
-
VmAmdStandard
public static final VmTargetAsset.PreferredShapeType VmAmdStandard
-
UnknownEnumValue
public static final VmTargetAsset.PreferredShapeType 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 VmTargetAsset.PreferredShapeType[] 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 (VmTargetAsset.PreferredShapeType c : VmTargetAsset.PreferredShapeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VmTargetAsset.PreferredShapeType 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 VmTargetAsset.PreferredShapeType create(String key)
-
-