Package org.jclouds.blobstore.attr
Enum ContainerCapability
- java.lang.Object
-
- java.lang.Enum<ContainerCapability>
-
- org.jclouds.blobstore.attr.ContainerCapability
-
- All Implemented Interfaces:
Serializable
,Comparable<ContainerCapability>
public enum ContainerCapability extends Enum<ContainerCapability>
Represents the capabilities of a BlobStore
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ETAG
containers have an etag associated with themID
containers have a system generated ID associated with themLAST_MODIFIED
container will have last modified date associated with themMETADATA
containers can have key-value pairs associated with themMILLISECOND_PRECISION
timestamps are precise in milliseconds (as opposed to seconds)PUBLIC
possible to expose a container to anonymous accessRECURSIVE_DELETE
deletion of a container is recursiveROOTCONTAINER
There's a container that exists at the root of the serviceSIZE
container size in bytes is exposed by service listingSKIP_CREATE_CONTAINER
Containers (and subcontainers) are created implicitly
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContainerCapability
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContainerCapability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECURSIVE_DELETE
public static final ContainerCapability RECURSIVE_DELETE
deletion of a container is recursive
-
ROOTCONTAINER
public static final ContainerCapability ROOTCONTAINER
There's a container that exists at the root of the service
-
SKIP_CREATE_CONTAINER
public static final ContainerCapability SKIP_CREATE_CONTAINER
Containers (and subcontainers) are created implicitly
-
METADATA
public static final ContainerCapability METADATA
containers can have key-value pairs associated with them
-
ETAG
public static final ContainerCapability ETAG
containers have an etag associated with them
-
ID
public static final ContainerCapability ID
containers have a system generated ID associated with them
-
LAST_MODIFIED
public static final ContainerCapability LAST_MODIFIED
container will have last modified date associated with them
-
MILLISECOND_PRECISION
public static final ContainerCapability MILLISECOND_PRECISION
timestamps are precise in milliseconds (as opposed to seconds)
-
SIZE
public static final ContainerCapability SIZE
container size in bytes is exposed by service listing
-
PUBLIC
public static final ContainerCapability PUBLIC
possible to expose a container to anonymous access
-
-
Method Detail
-
values
public static ContainerCapability[] 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 (ContainerCapability c : ContainerCapability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContainerCapability 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
-
-