public enum RateLimitUnit extends Enum<RateLimitUnit>
Enum Constant and Description |
---|
DAY |
HOUR |
MINUTE |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static RateLimitUnit |
fromValue(String v) |
String |
value() |
static RateLimitUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateLimitUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateLimitUnit MINUTE
public static final RateLimitUnit HOUR
public static final RateLimitUnit DAY
public static final RateLimitUnit UNRECOGNIZED
public static RateLimitUnit[] values()
for (RateLimitUnit c : RateLimitUnit.values()) System.out.println(c);
public static RateLimitUnit 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 String value()
public static RateLimitUnit fromValue(String v)
Copyright © 2009-2012 jclouds. All Rights Reserved.