org.jclouds.ec2.services
Interface ElasticBlockStoreAsyncClient


public interface ElasticBlockStoreAsyncClient

Provides access to EC2 Elastic Block Store services via their REST API.

Author:
Adrian Cole

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Void> addCreateVolumePermissionsToSnapshotInRegion(String region, Iterable<String> userIds, Iterable<String> userGroups, String snapshotId)
           
 com.google.common.util.concurrent.ListenableFuture<Attachment> attachVolumeInRegion(String region, String volumeId, String instanceId, String device)
           
 com.google.common.util.concurrent.ListenableFuture<Snapshot> createSnapshotInRegion(String region, String volumeId, CreateSnapshotOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Volume> createVolumeFromSnapshotInAvailabilityZone(String availabilityZone, int size, String snapshotId)
           
 com.google.common.util.concurrent.ListenableFuture<Volume> createVolumeFromSnapshotInAvailabilityZone(String availabilityZone, String snapshotId)
           
 com.google.common.util.concurrent.ListenableFuture<Volume> createVolumeInAvailabilityZone(String availabilityZone, int size)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteSnapshotInRegion(String region, String snapshotId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteVolumeInRegion(String region, String volumeId)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Set<Snapshot>> describeSnapshotsInRegion(String region, DescribeSnapshotsOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Set<Volume>> describeVolumesInRegion(String region, String... volumeIds)
           
 com.google.common.util.concurrent.ListenableFuture<Void> detachVolumeInRegion(String region, String volumeId, boolean force, DetachVolumeOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Permission> getCreateVolumePermissionForSnapshotInRegion(String region, String snapshotId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> removeCreateVolumePermissionsFromSnapshotInRegion(String region, Iterable<String> userIds, Iterable<String> userGroups, String snapshotId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> resetCreateVolumePermissionsOnSnapshotInRegion(String region, String snapshotId)
           
 

Method Detail

createVolumeFromSnapshotInAvailabilityZone

com.google.common.util.concurrent.ListenableFuture<Volume> createVolumeFromSnapshotInAvailabilityZone(String availabilityZone,
                                                                                                      String snapshotId)
See Also:
ElasticBlockStoreClient.createVolumeFromSnapshotInAvailabilityZone(java.lang.String, java.lang.String)

createVolumeFromSnapshotInAvailabilityZone

com.google.common.util.concurrent.ListenableFuture<Volume> createVolumeFromSnapshotInAvailabilityZone(String availabilityZone,
                                                                                                      int size,
                                                                                                      String snapshotId)
See Also:
ElasticBlockStoreClient.createVolumeFromSnapshotInAvailabilityZone(java.lang.String, java.lang.String)

createVolumeInAvailabilityZone

com.google.common.util.concurrent.ListenableFuture<Volume> createVolumeInAvailabilityZone(String availabilityZone,
                                                                                          int size)
See Also:
ElasticBlockStoreClient.createVolumeInAvailabilityZone(java.lang.String, int)

describeVolumesInRegion

com.google.common.util.concurrent.ListenableFuture<? extends Set<Volume>> describeVolumesInRegion(@Nullable
                                                                                                  String region,
                                                                                                  String... volumeIds)
See Also:
ElasticBlockStoreClient.describeVolumesInRegion(java.lang.String, java.lang.String...)

deleteVolumeInRegion

com.google.common.util.concurrent.ListenableFuture<Void> deleteVolumeInRegion(@Nullable
                                                                              String region,
                                                                              String volumeId)
See Also:
ElasticBlockStoreClient.deleteVolumeInRegion(java.lang.String, java.lang.String)

detachVolumeInRegion

com.google.common.util.concurrent.ListenableFuture<Void> detachVolumeInRegion(@Nullable
                                                                              String region,
                                                                              String volumeId,
                                                                              boolean force,
                                                                              DetachVolumeOptions... options)
See Also:
ElasticBlockStoreClient.detachVolumeInRegion(java.lang.String, java.lang.String, boolean, org.jclouds.ec2.options.DetachVolumeOptions...)

attachVolumeInRegion

com.google.common.util.concurrent.ListenableFuture<Attachment> attachVolumeInRegion(@Nullable
                                                                                    String region,
                                                                                    String volumeId,
                                                                                    String instanceId,
                                                                                    String device)
See Also:
ElasticBlockStoreClient.attachVolumeInRegion(java.lang.String, java.lang.String, java.lang.String, java.lang.String)

createSnapshotInRegion

com.google.common.util.concurrent.ListenableFuture<Snapshot> createSnapshotInRegion(@Nullable
                                                                                    String region,
                                                                                    String volumeId,
                                                                                    CreateSnapshotOptions... options)
See Also:
ElasticBlockStoreClient.createSnapshotInRegion(java.lang.String, java.lang.String, org.jclouds.ec2.options.CreateSnapshotOptions...)

describeSnapshotsInRegion

com.google.common.util.concurrent.ListenableFuture<? extends Set<Snapshot>> describeSnapshotsInRegion(@Nullable
                                                                                                      String region,
                                                                                                      DescribeSnapshotsOptions... options)
See Also:
ElasticBlockStoreClient.describeSnapshotsInRegion(java.lang.String, org.jclouds.ec2.options.DescribeSnapshotsOptions...)

deleteSnapshotInRegion

com.google.common.util.concurrent.ListenableFuture<Void> deleteSnapshotInRegion(@Nullable
                                                                                String region,
                                                                                String snapshotId)
See Also:
ElasticBlockStoreClient.deleteSnapshotInRegion(java.lang.String, java.lang.String)

addCreateVolumePermissionsToSnapshotInRegion

com.google.common.util.concurrent.ListenableFuture<Void> addCreateVolumePermissionsToSnapshotInRegion(@Nullable
                                                                                                      String region,
                                                                                                      Iterable<String> userIds,
                                                                                                      Iterable<String> userGroups,
                                                                                                      String snapshotId)
See Also:
ElasticBlockStoreClient.addCreateVolumePermissionsToSnapshotInRegion(java.lang.String, java.lang.Iterable, java.lang.Iterable, java.lang.String)

removeCreateVolumePermissionsFromSnapshotInRegion

com.google.common.util.concurrent.ListenableFuture<Void> removeCreateVolumePermissionsFromSnapshotInRegion(@Nullable
                                                                                                           String region,
                                                                                                           Iterable<String> userIds,
                                                                                                           Iterable<String> userGroups,
                                                                                                           String snapshotId)
See Also:
ElasticBlockStoreClient.removeCreateVolumePermissionsFromSnapshotInRegion(java.lang.String, java.lang.Iterable, java.lang.Iterable, java.lang.String)

getCreateVolumePermissionForSnapshotInRegion

com.google.common.util.concurrent.ListenableFuture<Permission> getCreateVolumePermissionForSnapshotInRegion(@Nullable
                                                                                                            String region,
                                                                                                            String snapshotId)
See Also:
ElasticBlockStoreClient.getCreateVolumePermissionForSnapshotInRegion(java.lang.String, java.lang.String)

resetCreateVolumePermissionsOnSnapshotInRegion

com.google.common.util.concurrent.ListenableFuture<Void> resetCreateVolumePermissionsOnSnapshotInRegion(@Nullable
                                                                                                        String region,
                                                                                                        String snapshotId)
See Also:
ElasticBlockStoreClient.resetCreateVolumePermissionsOnSnapshotInRegion(java.lang.String, java.lang.String)


Copyright © 2009-2011 jclouds. All Rights Reserved.