Package com.google.cloud.hadoop.util
Enum RequesterPaysOptions.RequesterPaysMode
- java.lang.Object
-
- java.lang.Enum<RequesterPaysOptions.RequesterPaysMode>
-
- com.google.cloud.hadoop.util.RequesterPaysOptions.RequesterPaysMode
-
- All Implemented Interfaces:
Serializable,Comparable<RequesterPaysOptions.RequesterPaysMode>
- Enclosing class:
- RequesterPaysOptions
public static enum RequesterPaysOptions.RequesterPaysMode extends Enum<RequesterPaysOptions.RequesterPaysMode>
Operational modes of GCS Requester Pays feature.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequesterPaysOptions.RequesterPaysModevalueOf(String name)Returns the enum constant of this type with the specified name.static RequesterPaysOptions.RequesterPaysMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final RequesterPaysOptions.RequesterPaysMode AUTO
-
CUSTOM
public static final RequesterPaysOptions.RequesterPaysMode CUSTOM
-
DISABLED
public static final RequesterPaysOptions.RequesterPaysMode DISABLED
-
ENABLED
public static final RequesterPaysOptions.RequesterPaysMode ENABLED
-
-
Method Detail
-
values
public static RequesterPaysOptions.RequesterPaysMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RequesterPaysOptions.RequesterPaysMode c : RequesterPaysOptions.RequesterPaysMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequesterPaysOptions.RequesterPaysMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-