org.jclouds.cloudservers.domain
Enum WeeklyBackup
java.lang.Object
java.lang.Enum<WeeklyBackup>
org.jclouds.cloudservers.domain.WeeklyBackup
- All Implemented Interfaces:
- Serializable, Comparable<WeeklyBackup>
public enum WeeklyBackup
- extends Enum<WeeklyBackup>
DISABLED
public static final WeeklyBackup DISABLED
SUNDAY
public static final WeeklyBackup SUNDAY
MONDAY
public static final WeeklyBackup MONDAY
TUESDAY
public static final WeeklyBackup TUESDAY
WEDNESDAY
public static final WeeklyBackup WEDNESDAY
THURSDAY
public static final WeeklyBackup THURSDAY
FRIDAY
public static final WeeklyBackup FRIDAY
SATURDAY
public static final WeeklyBackup SATURDAY
UNRECOGNIZED
public static final WeeklyBackup UNRECOGNIZED
values
public static WeeklyBackup[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (WeeklyBackup c : WeeklyBackup.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WeeklyBackup valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
value
public String value()
fromValue
public static WeeklyBackup fromValue(String v)
Copyright © 2009-2012 jclouds. All Rights Reserved.