org.dasein.cloud.aws
Class EC2Provider
java.lang.Object
org.dasein.cloud.aws.EC2Provider
- All Implemented Interfaces:
- Comparable<EC2Provider>
public class EC2Provider
- extends Object
- implements Comparable<EC2Provider>
An enumeration-like object for different implementations of the EC2 API. This cannot be an enum as it allows
for arbitrary values. Furthermore, values are matched in an case-insensitive fashion.
Created by George Reese: 9/17/12 12:29 PM
- Since:
- 2012.09
- Version:
- 2012.09 initial version
- Author:
- George Reese
AWS
public static final EC2Provider AWS
ENSTRATUS
public static final EC2Provider ENSTRATUS
OPENSTACK
public static final EC2Provider OPENSTACK
EUCALYPTUS
public static final EC2Provider EUCALYPTUS
OTHER
public static final EC2Provider OTHER
STORAGE
public static final EC2Provider STORAGE
valueOf
@Nonnull
public static EC2Provider valueOf(@Nonnull
String providerName)
values
@Nonnull
public static Set<EC2Provider> values()
compareTo
public int compareTo(@Nullable
EC2Provider other)
- Specified by:
compareTo in interface Comparable<EC2Provider>
equals
public boolean equals(@Nullable
Object ob)
- Overrides:
equals in class Object
getName
@Nonnull
public String getName()
toString
@Nonnull
public String toString()
- Overrides:
toString in class Object
isAWS
public boolean isAWS()
isEnStratus
public boolean isEnStratus()
isEucalyptus
public boolean isEucalyptus()
isOpenStack
public boolean isOpenStack()
isOther
public boolean isOther()
isStorage
public boolean isStorage()
Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.