public enum Payer extends Enum<Payer>
Enum Constant and Description |
---|
BucketOwner
The bucket owner pays for the rquest
|
Requester
The rquester pays for the request
|
Modifier and Type | Method and Description |
---|---|
static Payer |
parse(String payer) |
String |
toString() |
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 BucketOwner
public static final Payer Requester
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 nullCopyright © 2024. All Rights Reserved.