Enum DomainResourceReferences.PredefinedAcl
- java.lang.Object
-
- java.lang.Enum<DomainResourceReferences.PredefinedAcl>
-
- org.jclouds.googlecloudstorage.domain.DomainResourceReferences.PredefinedAcl
-
- All Implemented Interfaces:
Serializable
,Comparable<DomainResourceReferences.PredefinedAcl>
- Enclosing class:
- DomainResourceReferences
public static enum DomainResourceReferences.PredefinedAcl extends Enum<DomainResourceReferences.PredefinedAcl>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATED_READ
PRIVATE
PROJEECT_PRIVATE
PUBLIC_READ
PUBLIC_READ_WRITE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DomainResourceReferences.PredefinedAcl
fromValue(String predefinedAcl)
String
toString()
String
value()
static DomainResourceReferences.PredefinedAcl
valueOf(String name)
Returns the enum constant of this type with the specified name.static DomainResourceReferences.PredefinedAcl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHENTICATED_READ
public static final DomainResourceReferences.PredefinedAcl AUTHENTICATED_READ
-
PRIVATE
public static final DomainResourceReferences.PredefinedAcl PRIVATE
-
PROJEECT_PRIVATE
public static final DomainResourceReferences.PredefinedAcl PROJEECT_PRIVATE
-
PUBLIC_READ
public static final DomainResourceReferences.PredefinedAcl PUBLIC_READ
-
PUBLIC_READ_WRITE
public static final DomainResourceReferences.PredefinedAcl PUBLIC_READ_WRITE
-
-
Method Detail
-
values
public static DomainResourceReferences.PredefinedAcl[] 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 (DomainResourceReferences.PredefinedAcl c : DomainResourceReferences.PredefinedAcl.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DomainResourceReferences.PredefinedAcl 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
-
value
public String value()
-
toString
public String toString()
- Overrides:
toString
in classEnum<DomainResourceReferences.PredefinedAcl>
-
fromValue
public static DomainResourceReferences.PredefinedAcl fromValue(String predefinedAcl)
-
-