Enum DiffDiskPlacement
- java.lang.Object
-
- java.lang.Enum<DiffDiskPlacement>
-
- com.microsoft.azure.batch.protocol.models.DiffDiskPlacement
-
- All Implemented Interfaces:
Serializable
,Comparable<DiffDiskPlacement>
public enum DiffDiskPlacement extends Enum<DiffDiskPlacement>
Defines values for DiffDiskPlacement.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHE_DISK
The Ephemeral OS Disk is stored on the VM cache.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiffDiskPlacement
fromString(String value)
Parses a serialized value to a DiffDiskPlacement instance.String
toString()
static DiffDiskPlacement
valueOf(String name)
Returns the enum constant of this type with the specified name.static DiffDiskPlacement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CACHE_DISK
public static final DiffDiskPlacement CACHE_DISK
The Ephemeral OS Disk is stored on the VM cache.
-
-
Method Detail
-
values
public static DiffDiskPlacement[] 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 (DiffDiskPlacement c : DiffDiskPlacement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiffDiskPlacement 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
-
fromString
public static DiffDiskPlacement fromString(String value)
Parses a serialized value to a DiffDiskPlacement instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed DiffDiskPlacement object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<DiffDiskPlacement>
-
-