FileFormat Class

public final class FileFormat
extends ExpandableStringEnum<FileFormat>

Used to specify the file format when making request for SAS on a VHDX file format snapshot.

Field Summary

Modifier and Type Field and Description
static final FileFormat VHD

A VHD file is a disk image file in the Virtual Hard Disk file format.

static final FileFormat VHDX

A VHDX file is a disk image file in the Virtual Hard Disk v2 file format.

Constructor Summary

Constructor Description
FileFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FileFormat value.

Method Summary

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

Creates or finds a FileFormat from its string representation.

static Collection<FileFormat> values()

Gets known FileFormat values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

VHD

public static final FileFormat VHD

A VHD file is a disk image file in the Virtual Hard Disk file format.

VHDX

public static final FileFormat VHDX

A VHDX file is a disk image file in the Virtual Hard Disk v2 file format.

Constructor Details

FileFormat

@Deprecated
public FileFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FileFormat value.

Method Details

fromString

public static FileFormat fromString(String name)

Creates or finds a FileFormat from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FileFormat.

values

public static Collection<FileFormat> values()

Gets known FileFormat values.

Returns:

known FileFormat values.

Applies to