A Container is the entity that holds StoredObjects. This handle allows you to access those objects and set/get
information on the container itself. To make sure a Container exists, you can call
places a call to the Object Store for its information. To ascertain the creation of a Container, call its
method. By calling
, the Container is removed from the Object
Store. Containers start out as private, which means that the StoredObjects in the Container can not be accessed
through the public URL. Set the Container to public to be able to do this. It is also important to understand
does not create an StoredObject, or otherwise place a call to the Object
Store. It just returns a handle for a StoredObject.
Takes a single Container and makes it public. ALL (!) the objects in the Container are now public, so be
very careful exercising this option. The public URL can now be used to access objects.
Takes a single Container and makes it private. All the objects in the Container are now private and can
no longer be accessed through the public URL.
Creates a Container in the Account.
Deletes a Container from the Account. Note that the Container must be empty in order to be deleted.
Checks whether a container exists
- whether the container exists
Returns a handle for an object. Note that this method DOES NOT create an object in the Object Store
name name of the object to create a handle for
- the object handle
Returns an object that represents a segment of a single large object
name the name of the object to create a handle for
part the part of the large object that the segment represents
- the object handle
Returns whether the metadata of the container has been retrieved
- true if the metadata has been retrieved
Force the Account to reload its metadata
The number of StoredObjects in the Container. If the Container was read by Account.list, this
value will not be refetched from the server, unless caching is disabled.
- number of StoredObjects
The number of bytes stored by the StoredObjects in the Container. If the Container was read by
Account.list, this value will not be refetched from the server, unless caching is disabled.
Returns a signature that can be used to upload files directly from the browser, using a basic form
redirect redirection URL after the upload has succeeded
maxFileSize max number of bytes allowed to upload
maxFileCount max number of files allowed to upload
seconds number of seconds for the temporary URL to be valid
- FormPost signature for uploading an object directly from the browser
Returns a number equal to pageSize of Container elements, starting with the first element
after the Container named the same as marker. Note that elements are returned as DirectoryOrObject
elements, because a delimiter is used.
prefix show only the results starting with prefix
delimiter limit the results on encountering the delimiter character (probably a slash)
marker the last element on the previous page
pageSize the number of elements to return
- collection of directories and objects
Reads a directory within the passed directory
directory the directory to read
- collection of directories and objects within the directory
Reads all directories and object in the root of a container
- collection of directories and objects within the root
Sets custom headers to be passed when creating a container. This allows you to
set implementation-dependent create options to the service.
headers the set of headers to pass in the create request.
Gets the custom headers on this container.