public enum Payer extends Enum<Payer>
Enum Constant and Description |
---|
BUCKET_OWNER |
REQUESTER |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Payer |
fromValue(String payer) |
String |
value() |
static Payer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payer REQUESTER
public static final Payer BUCKET_OWNER
public static final Payer UNRECOGNIZED
public static Payer[] values()
for (Payer c : Payer.values()) System.out.println(c);
public static Payer 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()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.