你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

FilePropertySemantics Class

public final class FilePropertySemantics
extends ExpandableStringEnum<FilePropertySemantics>

Defines values for FilePropertySemantics.

Field Summary

Modifier and Type Field and Description
static final FilePropertySemantics NEW

Static value New for FilePropertySemantics.

static final FilePropertySemantics RESTORE

Static value Restore for FilePropertySemantics.

Constructor Summary

Constructor Description
FilePropertySemantics()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FilePropertySemantics value.

Method Summary

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

Creates or finds a FilePropertySemantics from its string representation.

static Collection<FilePropertySemantics> values()

Gets known FilePropertySemantics values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NEW

public static final FilePropertySemantics NEW

Static value New for FilePropertySemantics.

RESTORE

public static final FilePropertySemantics RESTORE

Static value Restore for FilePropertySemantics.

Constructor Details

FilePropertySemantics

@Deprecated
public FilePropertySemantics()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FilePropertySemantics value.

Method Details

fromString

public static FilePropertySemantics fromString(String name)

Creates or finds a FilePropertySemantics from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FilePropertySemantics.

values

public static Collection<FilePropertySemantics> values()

Gets known FilePropertySemantics values.

Returns:

known FilePropertySemantics values.

Applies to