FilePropertySemantics Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. storage. file. share. models. FilePropertySemantics
- com.
- com.
public final class FilePropertySemantics
extends ExpandableStringEnum<FilePropertySemantics>
Defines values for FilePropertySemantics.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
File |
NEW
Static value New for File |
|
static final
File |
RESTORE
Static value Restore for File |
Constructor Summary
| Constructor | Description |
|---|---|
| FilePropertySemantics() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
File |
fromString(String name)
Creates or finds a File |
|
static
Collection<File |
values()
Gets known File |
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
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:
Returns:
values
public static Collection<FilePropertySemantics> values()
Gets known FilePropertySemantics values.
Returns: