org.dasein.cloud.aws.compute
Class EC2InstanceCapabilities

java.lang.Object
  extended by org.dasein.cloud.AbstractCapabilities<AWSCloud>
      extended by org.dasein.cloud.aws.compute.EC2InstanceCapabilities
All Implemented Interfaces:
org.dasein.cloud.Capabilities, org.dasein.cloud.compute.VirtualMachineCapabilities

public class EC2InstanceCapabilities
extends org.dasein.cloud.AbstractCapabilities<AWSCloud>
implements org.dasein.cloud.compute.VirtualMachineCapabilities

Describes the capabilities of AWS with respect to Dasein virtual machine operations.

Created by George Reese: 2/27/14 4:36 PM

Since:
2014.03
Version:
2014.03 initial version
Author:
George Reese

Field Summary
 
Fields inherited from interface org.dasein.cloud.Capabilities
LIMIT_UNKNOWN, LIMIT_UNLIMITED
 
Constructor Summary
EC2InstanceCapabilities(AWSCloud cloud)
           
 
Method Summary
 boolean canAlter(org.dasein.cloud.compute.VmState fromState)
           
 boolean canClone(org.dasein.cloud.compute.VmState fromState)
           
 boolean canPause(org.dasein.cloud.compute.VmState fromState)
           
 boolean canReboot(org.dasein.cloud.compute.VmState fromState)
           
 boolean canResume(org.dasein.cloud.compute.VmState fromState)
           
 boolean canStart(org.dasein.cloud.compute.VmState fromState)
           
 boolean canStop(org.dasein.cloud.compute.VmState fromState)
           
 boolean canSuspend(org.dasein.cloud.compute.VmState fromState)
           
 boolean canTerminate(org.dasein.cloud.compute.VmState fromState)
           
 boolean canUnpause(org.dasein.cloud.compute.VmState fromState)
           
 int getCostFactor(org.dasein.cloud.compute.VmState vmState)
           
 int getMaximumVirtualMachineCount()
           
 String getProviderTermForVirtualMachine(Locale locale)
           
 org.dasein.cloud.compute.VMScalingCapabilities getVerticalScalingCapabilities()
           
 org.dasein.cloud.util.NamingConstraints getVirtualMachineNamingConstraints()
           
 org.dasein.cloud.Requirement identifyDataCenterLaunchRequirement()
           
 org.dasein.cloud.Requirement identifyImageRequirement(org.dasein.cloud.compute.ImageClass cls)
           
 org.dasein.cloud.Requirement identifyPasswordRequirement(org.dasein.cloud.compute.Platform platform)
           
 org.dasein.cloud.Requirement identifyRootVolumeRequirement()
           
 org.dasein.cloud.Requirement identifyShellKeyRequirement(org.dasein.cloud.compute.Platform platform)
           
 org.dasein.cloud.Requirement identifyStaticIPRequirement()
           
 org.dasein.cloud.Requirement identifySubnetRequirement()
           
 org.dasein.cloud.Requirement identifyVlanRequirement()
           
 boolean isAPITerminationPreventable()
           
 boolean isBasicAnalyticsSupported()
           
 boolean isExtendedAnalyticsSupported()
           
 boolean isUserDataSupported()
           
 Iterable<org.dasein.cloud.compute.Architecture> listSupportedArchitectures()
           
 
Methods inherited from class org.dasein.cloud.AbstractCapabilities
getAccountNumber, getContext, getProvider, getRegionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dasein.cloud.Capabilities
getAccountNumber, getRegionId
 

Constructor Detail

EC2InstanceCapabilities

public EC2InstanceCapabilities(@Nonnull
                               AWSCloud cloud)
Method Detail

canAlter

public boolean canAlter(@Nonnull
                        org.dasein.cloud.compute.VmState fromState)
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Specified by:
canAlter in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canClone

public boolean canClone(@Nonnull
                        org.dasein.cloud.compute.VmState fromState)
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Specified by:
canClone in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canPause

public boolean canPause(@Nonnull
                        org.dasein.cloud.compute.VmState fromState)
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Specified by:
canPause in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canReboot

public boolean canReboot(@Nonnull
                         org.dasein.cloud.compute.VmState fromState)
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Specified by:
canReboot in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canResume

public boolean canResume(@Nonnull
                         org.dasein.cloud.compute.VmState fromState)
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Specified by:
canResume in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canStart

public boolean canStart(@Nonnull
                        org.dasein.cloud.compute.VmState fromState)
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Specified by:
canStart in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canStop

public boolean canStop(@Nonnull
                       org.dasein.cloud.compute.VmState fromState)
                throws org.dasein.cloud.CloudException,
                       org.dasein.cloud.InternalException
Specified by:
canStop in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canSuspend

public boolean canSuspend(@Nonnull
                          org.dasein.cloud.compute.VmState fromState)
                   throws org.dasein.cloud.CloudException,
                          org.dasein.cloud.InternalException
Specified by:
canSuspend in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canTerminate

public boolean canTerminate(@Nonnull
                            org.dasein.cloud.compute.VmState fromState)
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Specified by:
canTerminate in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canUnpause

public boolean canUnpause(@Nonnull
                          org.dasein.cloud.compute.VmState fromState)
                   throws org.dasein.cloud.CloudException,
                          org.dasein.cloud.InternalException
Specified by:
canUnpause in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getMaximumVirtualMachineCount

public int getMaximumVirtualMachineCount()
                                  throws org.dasein.cloud.CloudException,
                                         org.dasein.cloud.InternalException
Specified by:
getMaximumVirtualMachineCount in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getCostFactor

public int getCostFactor(@Nonnull
                         org.dasein.cloud.compute.VmState vmState)
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Specified by:
getCostFactor in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getProviderTermForVirtualMachine

@Nonnull
public String getProviderTermForVirtualMachine(@Nonnull
                                                       Locale locale)
                                        throws org.dasein.cloud.CloudException,
                                               org.dasein.cloud.InternalException
Specified by:
getProviderTermForVirtualMachine in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getVirtualMachineNamingConstraints

@Nonnull
public org.dasein.cloud.util.NamingConstraints getVirtualMachineNamingConstraints()
Specified by:
getVirtualMachineNamingConstraints in interface org.dasein.cloud.compute.VirtualMachineCapabilities

getVerticalScalingCapabilities

@Nullable
public org.dasein.cloud.compute.VMScalingCapabilities getVerticalScalingCapabilities()
                                                                              throws org.dasein.cloud.CloudException,
                                                                                     org.dasein.cloud.InternalException
Specified by:
getVerticalScalingCapabilities in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyDataCenterLaunchRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyDataCenterLaunchRequirement()
                                                                 throws org.dasein.cloud.CloudException,
                                                                        org.dasein.cloud.InternalException
Specified by:
identifyDataCenterLaunchRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyImageRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyImageRequirement(@Nonnull
                                                                     org.dasein.cloud.compute.ImageClass cls)
                                                      throws org.dasein.cloud.CloudException,
                                                             org.dasein.cloud.InternalException
Specified by:
identifyImageRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyPasswordRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyPasswordRequirement(org.dasein.cloud.compute.Platform platform)
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Specified by:
identifyPasswordRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyRootVolumeRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyRootVolumeRequirement()
                                                           throws org.dasein.cloud.CloudException,
                                                                  org.dasein.cloud.InternalException
Specified by:
identifyRootVolumeRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyShellKeyRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyShellKeyRequirement(org.dasein.cloud.compute.Platform platform)
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Specified by:
identifyShellKeyRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyStaticIPRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyStaticIPRequirement()
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Specified by:
identifyStaticIPRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifySubnetRequirement

@Nonnull
public org.dasein.cloud.Requirement identifySubnetRequirement()
                                                       throws org.dasein.cloud.CloudException,
                                                              org.dasein.cloud.InternalException
Specified by:
identifySubnetRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyVlanRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyVlanRequirement()
                                                     throws org.dasein.cloud.CloudException,
                                                            org.dasein.cloud.InternalException
Specified by:
identifyVlanRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isAPITerminationPreventable

public boolean isAPITerminationPreventable()
                                    throws org.dasein.cloud.CloudException,
                                           org.dasein.cloud.InternalException
Specified by:
isAPITerminationPreventable in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isBasicAnalyticsSupported

public boolean isBasicAnalyticsSupported()
                                  throws org.dasein.cloud.CloudException,
                                         org.dasein.cloud.InternalException
Specified by:
isBasicAnalyticsSupported in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isExtendedAnalyticsSupported

public boolean isExtendedAnalyticsSupported()
                                     throws org.dasein.cloud.CloudException,
                                            org.dasein.cloud.InternalException
Specified by:
isExtendedAnalyticsSupported in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isUserDataSupported

public boolean isUserDataSupported()
                            throws org.dasein.cloud.CloudException,
                                   org.dasein.cloud.InternalException
Specified by:
isUserDataSupported in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listSupportedArchitectures

@Nonnull
public Iterable<org.dasein.cloud.compute.Architecture> listSupportedArchitectures()
                                                                           throws org.dasein.cloud.InternalException,
                                                                                  org.dasein.cloud.CloudException
Specified by:
listSupportedArchitectures in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException


Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.