다음을 통해 공유


ConsistencyModeTypes Class

public final class ConsistencyModeTypes
extends ExpandableStringEnum<ConsistencyModeTypes>

ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.

Field Summary

Modifier and Type Field and Description
static final ConsistencyModeTypes APPLICATION_CONSISTENT

Static value ApplicationConsistent for ConsistencyModeTypes.

static final ConsistencyModeTypes CRASH_CONSISTENT

Static value CrashConsistent for ConsistencyModeTypes.

static final ConsistencyModeTypes FILE_SYSTEM_CONSISTENT

Static value FileSystemConsistent for ConsistencyModeTypes.

Constructor Summary

Constructor Description
ConsistencyModeTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConsistencyModeTypes value.

Method Summary

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

Creates or finds a ConsistencyModeTypes from its string representation.

static Collection<ConsistencyModeTypes> values()

Gets known ConsistencyModeTypes values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

APPLICATION_CONSISTENT

public static final ConsistencyModeTypes APPLICATION_CONSISTENT

Static value ApplicationConsistent for ConsistencyModeTypes.

CRASH_CONSISTENT

public static final ConsistencyModeTypes CRASH_CONSISTENT

Static value CrashConsistent for ConsistencyModeTypes.

FILE_SYSTEM_CONSISTENT

public static final ConsistencyModeTypes FILE_SYSTEM_CONSISTENT

Static value FileSystemConsistent for ConsistencyModeTypes.

Constructor Details

ConsistencyModeTypes

@Deprecated
public ConsistencyModeTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConsistencyModeTypes value.

Method Details

fromString

public static ConsistencyModeTypes fromString(String name)

Creates or finds a ConsistencyModeTypes from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ConsistencyModeTypes.

values

public static Collection values()

Gets known ConsistencyModeTypes values.

Returns:

known ConsistencyModeTypes values.

Applies to