public static enum Snapshot.Interval extends Enum<Snapshot.Interval>
Enum Constant and Description |
---|
DAILY |
HOURLY |
MONTHLY |
none |
template |
UNRECOGNIZED |
WEEKLY |
Modifier and Type | Method and Description |
---|---|
static Snapshot.Interval |
fromValue(String type) |
static Snapshot.Interval |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Snapshot.Interval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Snapshot.Interval HOURLY
public static final Snapshot.Interval DAILY
public static final Snapshot.Interval WEEKLY
public static final Snapshot.Interval MONTHLY
public static final Snapshot.Interval template
public static final Snapshot.Interval none
public static final Snapshot.Interval UNRECOGNIZED
public static Snapshot.Interval[] values()
for (Snapshot.Interval c : Snapshot.Interval.values()) System.out.println(c);
public static Snapshot.Interval 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 Snapshot.Interval fromValue(String type)
Copyright © 2009-2013 jclouds. All Rights Reserved.