DiskCreateOption Class

public final class DiskCreateOption
extends ExpandableStringEnum<DiskCreateOption>

This enumerates the possible sources of a disk's creation.

Field Summary

Modifier and Type Field and Description
static final DiskCreateOption ATTACH

Static value Attach for DiskCreateOption.

static final DiskCreateOption COPY

Static value Copy for DiskCreateOption.

static final DiskCreateOption COPY_FROM_SAN_SNAPSHOT

Static value CopyFromSanSnapshot for DiskCreateOption.

static final DiskCreateOption COPY_START

Static value CopyStart for DiskCreateOption.

static final DiskCreateOption EMPTY

Static value Empty for DiskCreateOption.

static final DiskCreateOption FROM_IMAGE

Static value FromImage for DiskCreateOption.

static final DiskCreateOption IMPORT

Static value Import for DiskCreateOption.

static final DiskCreateOption IMPORT_SECURE

Static value ImportSecure for DiskCreateOption.

static final DiskCreateOption RESTORE

Static value Restore for DiskCreateOption.

static final DiskCreateOption UPLOAD

Static value Upload for DiskCreateOption.

static final DiskCreateOption UPLOAD_PREPARED_SECURE

Static value UploadPreparedSecure for DiskCreateOption.

Constructor Summary

Constructor Description
DiskCreateOption()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiskCreateOption value.

Method Summary

Modifier and Type Method and Description
static DiskCreateOption fromString(String name)

Creates or finds a DiskCreateOption from its string representation.

static Collection<DiskCreateOption> values()

Gets known DiskCreateOption values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ATTACH

public static final DiskCreateOption ATTACH

Static value Attach for DiskCreateOption.

COPY

public static final DiskCreateOption COPY

Static value Copy for DiskCreateOption.

COPY_FROM_SAN_SNAPSHOT

public static final DiskCreateOption COPY_FROM_SAN_SNAPSHOT

Static value CopyFromSanSnapshot for DiskCreateOption.

COPY_START

public static final DiskCreateOption COPY_START

Static value CopyStart for DiskCreateOption.

EMPTY

public static final DiskCreateOption EMPTY

Static value Empty for DiskCreateOption.

FROM_IMAGE

public static final DiskCreateOption FROM_IMAGE

Static value FromImage for DiskCreateOption.

IMPORT

public static final DiskCreateOption IMPORT

Static value Import for DiskCreateOption.

IMPORT_SECURE

public static final DiskCreateOption IMPORT_SECURE

Static value ImportSecure for DiskCreateOption.

RESTORE

public static final DiskCreateOption RESTORE

Static value Restore for DiskCreateOption.

UPLOAD

public static final DiskCreateOption UPLOAD

Static value Upload for DiskCreateOption.

UPLOAD_PREPARED_SECURE

public static final DiskCreateOption UPLOAD_PREPARED_SECURE

Static value UploadPreparedSecure for DiskCreateOption.

Constructor Details

DiskCreateOption

@Deprecated
public DiskCreateOption()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiskCreateOption value.

Method Details

fromString

public static DiskCreateOption fromString(String name)

Creates or finds a DiskCreateOption from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DiskCreateOption.

values

public static Collection values()

Gets known DiskCreateOption values.

Returns:

known DiskCreateOption values.

Applies to