Package org.jclouds.aws.ec2.domain
Class Spot
- java.lang.Object
-
- org.jclouds.aws.ec2.domain.Spot
-
- All Implemented Interfaces:
Comparable<Spot>
public class Spot extends Object implements Comparable<Spot>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Spot.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Spot.Builder
builder()
int
compareTo(Spot o)
boolean
equals(Object obj)
String
getAvailabilityZone()
String
getInstanceType()
String
getProductDescription()
String
getRegion()
Deprecated.float
getSpotPrice()
Date
getTimestamp()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
builder
public static Spot.Builder builder()
-
getRegion
@Deprecated public String getRegion()
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context.
-
getInstanceType
public String getInstanceType()
-
getProductDescription
public String getProductDescription()
-
getSpotPrice
public float getSpotPrice()
-
getTimestamp
public Date getTimestamp()
-
getAvailabilityZone
public String getAvailabilityZone()
-
compareTo
public int compareTo(Spot o)
- Specified by:
compareTo
in interfaceComparable<Spot>
-
-