Package org.jclouds.blobstore.attr
Enum Class BlobCapability
- All Implemented Interfaces:
Serializable
,Comparable<BlobCapability>
,java.lang.constant.Constable
Represents the capabilities of a BlobStore
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnable "chunked"/"streamed" data, where the size needn't be known in advance.receive pieces of a blob via Content-Range headersupportsblobs have an etag associated with themetag is the same value as the MD5 of the objectreceive pieces of a blob via Content-Range headerblobs have a system generated ID associated with themblobs will have last modified date associated with themblobstore stores Content-MD5 headerblobs can have key-value pairs associated with themtimestamps are precise in milliseconds (as opposed to seconds)possible to expose blobs to anonymous accessreplace pieces of a blob via Content-Range headerblob size in bytes is exposed by service listing -
Method Summary
Modifier and TypeMethodDescriptionstatic BlobCapability
Returns the enum constant of this class with the specified name.static BlobCapability[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONDITIONAL_MATCH
supports -
CONDITIONAL_DATE
receive pieces of a blob via Content-Range header -
GET_RANGE
receive pieces of a blob via Content-Range header -
PUT_RANGE
replace pieces of a blob via Content-Range header -
CHUNKED_ENCODING
Enable "chunked"/"streamed" data, where the size needn't be known in advance. -
METADATA
blobs can have key-value pairs associated with them -
ETAG
blobs have an etag associated with them -
ID
blobs have a system generated ID associated with them -
MD5
blobstore stores Content-MD5 header -
ETAG_EQUALS_MD5
etag is the same value as the MD5 of the object -
LAST_MODIFIED
blobs will have last modified date associated with them -
MILLISECOND_PRECISION
timestamps are precise in milliseconds (as opposed to seconds) -
SIZE
blob size in bytes is exposed by service listing -
PUBLIC
possible to expose blobs to anonymous access
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-