Package org.jclouds.atmos
Interface AtmosClient
- All Superinterfaces:
AutoCloseable
,Closeable
Provides access to EMC Atmos Online Storage resources via their REST API.
-
Method Summary
Modifier and TypeMethodDescriptioncreateDirectory
(String directoryName, PutOptions... options) createFile
(String parent, AtmosObject object, PutOptions... options) boolean
deletePath
(String path) getSystemMetadata
(String path) getUserMetadata
(String path) boolean
BoundedSet
<? extends DirectoryEntry> listDirectories
(ListOptions... options) BoundedSet
<? extends DirectoryEntry> listDirectory
(String directoryName, ListOptions... options) boolean
pathExists
(String path) readFile
(String path, GetOptions... options) void
setGroupAcl
(String path, PutOptions options) void
updateFile
(String parent, AtmosObject object, PutOptions... options)
-
Method Details
-
newObject
-
listDirectories
@Named("ListDirectory") @GET @Path("/") @Consumes("text/xml") BoundedSet<? extends DirectoryEntry> listDirectories(ListOptions... options) -
listDirectory
@Named("ListDirectory") @GET @Path("/{directoryName}/") @Consumes("text/xml") BoundedSet<? extends DirectoryEntry> listDirectory(@PathParam("directoryName") String directoryName, ListOptions... options) -
createDirectory
@Named("CreateDirectory") @POST @Path("/{directoryName}/") @Produces("application/octet-stream") @Consumes("*/*") URI createDirectory(@PathParam("directoryName") String directoryName, PutOptions... options) -
createFile
@Nullable @Named("CreateObject") @POST @Path("/{parent}/{name}") @Consumes("*/*") URI createFile(@PathParam("parent") String parent, @PathParam("name") AtmosObject object, PutOptions... options) -
updateFile
@Named("UpdateObject") @PUT @Path("/{parent}/{name}") @Consumes("*/*") void updateFile(@PathParam("parent") String parent, @PathParam("name") AtmosObject object, PutOptions... options) -
readFile
@Named("ReadObject") @GET @Path("/{path}") @Consumes("*/*") AtmosObject readFile(@PathParam("path") String path, GetOptions... options) -
headFile
@Named("GetObjectMetadata") @HEAD @Path("/{path}") @Consumes("*/*") AtmosObject headFile(@PathParam("path") String path) -
getSystemMetadata
@Named("GetSystemMetadata") @HEAD @Path("/{path}") @Consumes("*/*") SystemMetadata getSystemMetadata(@PathParam("path") String path) -
getUserMetadata
@Named("GetUserMetadata") @HEAD @Path("/{path}") @Consumes("*/*") UserMetadata getUserMetadata(@PathParam("path") String path) -
deletePath
@Named("DeleteObject") @DELETE @Path("/{path}") @Consumes("*/*") boolean deletePath(@PathParam("path") String path) -
pathExists
@Named("GetObjectMetadata") @HEAD @Path("/{path}") @Consumes("*/*") boolean pathExists(@PathParam("path") String path) -
isPublic
@Named("GetObjectMetadata") @HEAD @Path("/{path}") @Consumes("*/*") boolean isPublic(@PathParam("path") String path) -
setGroupAcl
@Named("SetObjectMetadata") @POST @Path("/{path}") @Produces("application/octet-stream") @Consumes("*/*") void setGroupAcl(@PathParam("path") String path, PutOptions options)
-