Package org.jclouds.blobstore.attr
Enum ContainerVisibilities
- java.lang.Object
-
- java.lang.Enum<ContainerVisibilities>
-
- org.jclouds.blobstore.attr.ContainerVisibilities
-
- All Implemented Interfaces:
Serializable
,Comparable<ContainerVisibilities>
public enum ContainerVisibilities extends Enum<ContainerVisibilities>
Represents the ways a container is scoped
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContainerVisibilities
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContainerVisibilities[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final ContainerVisibilities PUBLIC
Container namespace is shared by the general public and therefore has highest likelihood of collision. Containers created in public namespace are not deletable by other identitys.
-
ACCOUNT
public static final ContainerVisibilities ACCOUNT
Container namespace is shared within an identity and therefore all containers are deletable by the identity.
-
-
Method Detail
-
values
public static ContainerVisibilities[] 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 (ContainerVisibilities c : ContainerVisibilities.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContainerVisibilities 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
-
-