org.jclouds.ec2.services
Interface InstanceAsyncClient

All Known Subinterfaces:
AWSInstanceAsyncClient

public interface InstanceAsyncClient

Provides access to EC2 Instance Services via their REST API.

Author:
Adrian Cole

Method Summary
 com.google.common.util.concurrent.ListenableFuture<? extends Set<? extends Reservation<? extends RunningInstance>>> describeInstancesInRegion(String region, String... instanceIds)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Map<String,BlockDevice>> getBlockDeviceMappingForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<Volume.InstanceInitiatedShutdownBehavior> getInstanceInitiatedShutdownBehaviorForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<String> getInstanceTypeForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<String> getKernelForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<String> getRamdiskForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<String> getRootDeviceNameForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<String> getUserDataForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> isApiTerminationDisabledForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> rebootInstancesInRegion(String region, String... instanceIds)
           
 com.google.common.util.concurrent.ListenableFuture<Void> resetKernelForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> resetRamdiskForInstanceInRegion(String region, String instanceId)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Reservation<? extends RunningInstance>> runInstancesInRegion(String region, String nullableAvailabilityZone, String imageId, int minCount, int maxCount, RunInstancesOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> setApiTerminationDisabledForInstanceInRegion(String region, String instanceId, boolean apiTerminationDisabled)
           
 com.google.common.util.concurrent.ListenableFuture<Void> setBlockDeviceMappingForInstanceInRegion(String region, String instanceId, Map<String,BlockDevice> blockDeviceMapping)
           
 com.google.common.util.concurrent.ListenableFuture<Void> setInstanceInitiatedShutdownBehaviorForInstanceInRegion(String region, String instanceId, Volume.InstanceInitiatedShutdownBehavior instanceInitiatedShutdownBehavior)
           
 com.google.common.util.concurrent.ListenableFuture<Void> setInstanceTypeForInstanceInRegion(String region, String instanceId, String instanceType)
           
 com.google.common.util.concurrent.ListenableFuture<Void> setKernelForInstanceInRegion(String region, String instanceId, String kernel)
           
 com.google.common.util.concurrent.ListenableFuture<Void> setRamdiskForInstanceInRegion(String region, String instanceId, String ramdisk)
           
 com.google.common.util.concurrent.ListenableFuture<Void> setUserDataForInstanceInRegion(String region, String instanceId, byte[] unencodedData)
           
 com.google.common.util.concurrent.ListenableFuture<Set<? extends InstanceStateChange>> startInstancesInRegion(String region, String... instanceIds)
           
 com.google.common.util.concurrent.ListenableFuture<Set<? extends InstanceStateChange>> stopInstancesInRegion(String region, boolean force, String... instanceIds)
           
 com.google.common.util.concurrent.ListenableFuture<Set<? extends InstanceStateChange>> terminateInstancesInRegion(String region, String... instanceIds)
           
 

Method Detail

describeInstancesInRegion

com.google.common.util.concurrent.ListenableFuture<? extends Set<? extends Reservation<? extends RunningInstance>>> describeInstancesInRegion(@Nullable
                                                                                                                                              String region,
                                                                                                                                              String... instanceIds)
See Also:
InstanceClient.describeInstancesInRegion(java.lang.String, java.lang.String...)

runInstancesInRegion

com.google.common.util.concurrent.ListenableFuture<? extends Reservation<? extends RunningInstance>> runInstancesInRegion(@Nullable
                                                                                                                          String region,
                                                                                                                          @Nullable
                                                                                                                          String nullableAvailabilityZone,
                                                                                                                          String imageId,
                                                                                                                          int minCount,
                                                                                                                          int maxCount,
                                                                                                                          RunInstancesOptions... options)
See Also:
InstanceClient.runInstancesInRegion(java.lang.String, java.lang.String, java.lang.String, int, int, org.jclouds.ec2.options.RunInstancesOptions...)

rebootInstancesInRegion

com.google.common.util.concurrent.ListenableFuture<Void> rebootInstancesInRegion(@Nullable
                                                                                 String region,
                                                                                 String... instanceIds)
See Also:
InstanceClient.rebootInstancesInRegion(java.lang.String, java.lang.String...)

terminateInstancesInRegion

com.google.common.util.concurrent.ListenableFuture<Set<? extends InstanceStateChange>> terminateInstancesInRegion(@Nullable
                                                                                                                  String region,
                                                                                                                  String... instanceIds)
See Also:
InstanceClient.terminateInstancesInRegion(java.lang.String, java.lang.String...)

stopInstancesInRegion

com.google.common.util.concurrent.ListenableFuture<Set<? extends InstanceStateChange>> stopInstancesInRegion(@Nullable
                                                                                                             String region,
                                                                                                             boolean force,
                                                                                                             String... instanceIds)
See Also:
InstanceClient.stopInstancesInRegion(java.lang.String, boolean, java.lang.String...)

startInstancesInRegion

com.google.common.util.concurrent.ListenableFuture<Set<? extends InstanceStateChange>> startInstancesInRegion(@Nullable
                                                                                                              String region,
                                                                                                              String... instanceIds)
See Also:
InstanceClient.startInstancesInRegion(java.lang.String, java.lang.String...)

getUserDataForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<String> getUserDataForInstanceInRegion(@Nullable
                                                                                          String region,
                                                                                          String instanceId)
See Also:
AMIClient#getUserDataForInstanceInRegion

getRootDeviceNameForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<String> getRootDeviceNameForInstanceInRegion(@Nullable
                                                                                                String region,
                                                                                                String instanceId)
See Also:
AMIClient#getRootDeviceNameForInstanceInRegion

getRamdiskForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<String> getRamdiskForInstanceInRegion(@Nullable
                                                                                         String region,
                                                                                         String instanceId)
See Also:
AMIClient#getRamdiskForInstanceInRegion

getKernelForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<String> getKernelForInstanceInRegion(@Nullable
                                                                                        String region,
                                                                                        String instanceId)
See Also:
AMIClient#getKernelForInstanceInRegion

isApiTerminationDisabledForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Boolean> isApiTerminationDisabledForInstanceInRegion(@Nullable
                                                                                                        String region,
                                                                                                        String instanceId)
See Also:
AMIClient#isApiTerminationDisabledForInstanceInRegion

getInstanceTypeForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<String> getInstanceTypeForInstanceInRegion(@Nullable
                                                                                              String region,
                                                                                              String instanceId)
See Also:
AMIClient#getInstanceTypeForInstanceInRegion

getInstanceInitiatedShutdownBehaviorForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Volume.InstanceInitiatedShutdownBehavior> getInstanceInitiatedShutdownBehaviorForInstanceInRegion(@Nullable
                                                                                                                                                     String region,
                                                                                                                                                     String instanceId)
See Also:
AMIClient#getInstanceInitiatedShutdownBehaviorForInstanceInRegion

getBlockDeviceMappingForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<? extends Map<String,BlockDevice>> getBlockDeviceMappingForInstanceInRegion(@Nullable
                                                                                                                               String region,
                                                                                                                               String instanceId)
See Also:
InstanceClient.getBlockDeviceMappingForInstanceInRegion(java.lang.String, java.lang.String)

resetRamdiskForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Void> resetRamdiskForInstanceInRegion(@Nullable
                                                                                         String region,
                                                                                         String instanceId)
See Also:
AMIClient#resetRamdiskForInstanceInRegion

resetKernelForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Void> resetKernelForInstanceInRegion(@Nullable
                                                                                        String region,
                                                                                        String instanceId)
See Also:
AMIClient#resetKernelForInstanceInRegion

setUserDataForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Void> setUserDataForInstanceInRegion(@Nullable
                                                                                        String region,
                                                                                        String instanceId,
                                                                                        byte[] unencodedData)
See Also:
AMIClient#setUserDataForInstanceInRegion

setRamdiskForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Void> setRamdiskForInstanceInRegion(@Nullable
                                                                                       String region,
                                                                                       String instanceId,
                                                                                       String ramdisk)
See Also:
AMIClient#setRamdiskForInstanceInRegion

setKernelForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Void> setKernelForInstanceInRegion(@Nullable
                                                                                      String region,
                                                                                      String instanceId,
                                                                                      String kernel)
See Also:
AMIClient#setKernelForInstanceInRegion

setApiTerminationDisabledForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Void> setApiTerminationDisabledForInstanceInRegion(@Nullable
                                                                                                      String region,
                                                                                                      String instanceId,
                                                                                                      boolean apiTerminationDisabled)
See Also:
AMIClient#setApiTerminationDisabledForInstanceInRegion

setInstanceTypeForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Void> setInstanceTypeForInstanceInRegion(@Nullable
                                                                                            String region,
                                                                                            String instanceId,
                                                                                            String instanceType)
See Also:
AMIClient#setInstanceTypeForInstanceInRegion

setInstanceInitiatedShutdownBehaviorForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Void> setInstanceInitiatedShutdownBehaviorForInstanceInRegion(@Nullable
                                                                                                                 String region,
                                                                                                                 String instanceId,
                                                                                                                 Volume.InstanceInitiatedShutdownBehavior instanceInitiatedShutdownBehavior)
See Also:
AMIClient#setInstanceInitiatedShutdownBehaviorForInstanceInRegion

setBlockDeviceMappingForInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<Void> setBlockDeviceMappingForInstanceInRegion(@Nullable
                                                                                                  String region,
                                                                                                  String instanceId,
                                                                                                  Map<String,BlockDevice> blockDeviceMapping)
See Also:
InstanceClient.setBlockDeviceMappingForInstanceInRegion(java.lang.String, java.lang.String, java.util.Map)


Copyright © 2009-2012 jclouds. All Rights Reserved.