public final class DiskProvisioningType extends ApiEnumeration<DiskProvisioningType>
DiskProvisioningType enumeration class defines the virtual disk
provisioning types that can be set for a disk on the target platform.
| Modifier and Type | Class and Description |
|---|---|
static class |
DiskProvisioningType.Values
Native Java
enum representing this enumeration class. |
| Modifier and Type | Field and Description |
|---|---|
static DiskProvisioningType |
eagerZeroedThick
An eager zeroed thick provisioned virtual disk has all space allocated and wiped
clean of any previous contents on the physical media at creation time.
|
static DiskProvisioningType |
thick
A thick provisioned virtual disk has all space allocated at creation time and
the space is zeroed on demand as the space is used.
|
static DiskProvisioningType |
thin
A thin provisioned virtual disk has space allocated and zeroed on demand as the
space is used.
|
| Modifier and Type | Method and Description |
|---|---|
DiskProvisioningType.Values |
getEnumValue()
Returns a native Java
enum constant representing this enumeration
constant. |
boolean |
isUnknown()
Checks if this enumeration constant is unknown.
|
static DiskProvisioningType |
valueOf(String name)
Returns the enumeration constant for the specified name.
|
static DiskProvisioningType[] |
values()
Retrieve all enumeration constants pre-defined by this enumeration class.
|
equals, hashCode, name, toStringpublic static final DiskProvisioningType thin
public static final DiskProvisioningType thick
public static final DiskProvisioningType eagerZeroedThick
Disks specified as eager zeroed thick may take longer time to create than disks specified with the other disk provisioning types.
public static DiskProvisioningType[] values()
Additional instances might exist at runtime, for example to represent a
new constant added to this enumeration class in subsequent version of the
API. Such new constant is represented as instance of DiskProvisioningType
but is not pre-defined.
null.public static DiskProvisioningType valueOf(String name)
If the name matches exactly the identifier used to declare an enumeration constant from this enumeration class, the constant in question will be returned.
Otherwise, a new instance of DiskProvisioningType will be returned for the
specified name, which will not be one of the pre-defined constant
instances. Such new instance maps to the DiskProvisioningType.Values._UNKNOWN
enum constant from the native Java enum.
name - The name of the constant to return. Must not be null.null.public boolean isUnknown()
valueOf(java.lang.String) and values().true if this constant is unknown, and false otherwise.public DiskProvisioningType.Values getEnumValue()
enum constant representing this enumeration
constant. The result is useful for usual handling of Java enum,
for example it can be used in switch statements.
If this enumeration constant is unknown, then DiskProvisioningType.Values._UNKNOWN
enum constant is returned.
The native Java enum is DiskProvisioningType.Values.
enum constant. Never null.Copyright © 2016. All Rights Reserved.