public enum BackupLongTermRetentionPolicyState extends Enum<BackupLongTermRetentionPolicyState>
| Enum Constant and Description |
|---|
DISABLED
Enum value Disabled.
|
ENABLED
Enum value Enabled.
|
| Modifier and Type | Method and Description |
|---|---|
static BackupLongTermRetentionPolicyState |
fromString(String value)
Parses a serialized value to a BackupLongTermRetentionPolicyState instance.
|
String |
toString() |
static BackupLongTermRetentionPolicyState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackupLongTermRetentionPolicyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackupLongTermRetentionPolicyState DISABLED
public static final BackupLongTermRetentionPolicyState ENABLED
public static BackupLongTermRetentionPolicyState[] values()
for (BackupLongTermRetentionPolicyState c : BackupLongTermRetentionPolicyState.values()) System.out.println(c);
public static BackupLongTermRetentionPolicyState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static BackupLongTermRetentionPolicyState fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<BackupLongTermRetentionPolicyState>Copyright © 2019. All rights reserved.