BackupPolicyType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. BackupPolicyType
- com.
- com.
public final class BackupPolicyType
extends ExpandableStringEnum<BackupPolicyType>
Describes the mode of backups.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Backup |
CONTINUOUS
Static value Continuous for Backup |
static final
Backup |
PERIODIC
Static value Periodic for Backup |
Constructor Summary
Constructor | Description |
---|---|
BackupPolicyType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Backup |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Backup |
fromString(String name)
Creates or finds a Backup |
static
Collection<Backup |
values()
Gets known Backup |
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
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:
Returns:
values
public static Collection
Gets known BackupPolicyType values.
Returns:
Applies to
Azure SDK for Java