public enum Charge extends Enum<Charge>
Enum Constant and Description |
---|
IN
fees are incurred on basis of bytes input into the system
|
OUT
fees are incurred on basis of bytes output from the system
|
REQUEST
fees are incurred on basis of requests
|
STORE
fees are incurred on basis of bytes stored
|
Modifier and Type | Method and Description |
---|---|
static Charge |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Charge[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Charge REQUEST
public static final Charge STORE
public static final Charge IN
public static final Charge OUT
public static Charge[] values()
for (Charge c : Charge.values()) System.out.println(c);
public static Charge 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 nullCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.