org.dasein.cloud.aws.compute
Class EBSVolume
java.lang.Object
org.dasein.cloud.aws.compute.EBSVolume
- All Implemented Interfaces:
- org.dasein.cloud.AccessControlledService, org.dasein.cloud.compute.VolumeSupport
public class EBSVolume
- extends Object
- implements org.dasein.cloud.compute.VolumeSupport
| Fields inherited from interface org.dasein.cloud.compute.VolumeSupport |
ANY, ATTACH, CREATE_VOLUME, DETACH, GET_VOLUME, LIST_VOLUME, REMOVE_VOLUME |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attach
public void attach(String volumeId,
String toServer,
String device)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
attach in interface org.dasein.cloud.compute.VolumeSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
create
public String create(String fromSnapshot,
int sizeInGb,
String inZone)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
create in interface org.dasein.cloud.compute.VolumeSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
remove
public void remove(String volumeId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
remove in interface org.dasein.cloud.compute.VolumeSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
detach
public void detach(String volumeId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
detach in interface org.dasein.cloud.compute.VolumeSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
getProviderTermForVolume
public String getProviderTermForVolume(Locale locale)
- Specified by:
getProviderTermForVolume in interface org.dasein.cloud.compute.VolumeSupport
isSubscribed
public boolean isSubscribed()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
isSubscribed in interface org.dasein.cloud.compute.VolumeSupport
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listPossibleDeviceIds
public Iterable<String> listPossibleDeviceIds(org.dasein.cloud.compute.Platform platform)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
listPossibleDeviceIds in interface org.dasein.cloud.compute.VolumeSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
getVolume
public org.dasein.cloud.compute.Volume getVolume(String volumeId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
getVolume in interface org.dasein.cloud.compute.VolumeSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
listVolumes
public Iterable<org.dasein.cloud.compute.Volume> listVolumes()
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
listVolumes in interface org.dasein.cloud.compute.VolumeSupport
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
mapServiceAction
@Nonnull
public String[] mapServiceAction(@Nonnull
org.dasein.cloud.identity.ServiceAction action)
- Specified by:
mapServiceAction in interface org.dasein.cloud.AccessControlledService
Copyright © 2012 enStratus Networks LLC. All Rights Reserved.