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

BackupPolicyType Class

public final class BackupPolicyType
extends ExpandableStringEnum<BackupPolicyType>

Describes the mode of backups.

Field Summary

Modifier and Type Field and Description
static final BackupPolicyType CONTINUOUS

Static value Continuous for BackupPolicyType.

static final BackupPolicyType PERIODIC

Static value Periodic for BackupPolicyType.

Constructor Summary

Constructor Description
BackupPolicyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BackupPolicyType value.

Method Summary

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

Creates or finds a BackupPolicyType from its string representation.

static Collection<BackupPolicyType> values()

Gets known BackupPolicyType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONTINUOUS

public static final BackupPolicyType CONTINUOUS

Static value Continuous for BackupPolicyType.

PERIODIC

public static final BackupPolicyType PERIODIC

Static value Periodic for BackupPolicyType.

Constructor Details

BackupPolicyType

@Deprecated
public BackupPolicyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BackupPolicyType value.

Method Details

fromString

public static BackupPolicyType fromString(String name)

Creates or finds a BackupPolicyType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BackupPolicyType.

values

public static Collection<BackupPolicyType> values()

Gets known BackupPolicyType values.

Returns:

known BackupPolicyType values.

Applies to