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>
- See Also:
Spot
public Spot(String region,
String instanceType,
String productDescription,
float spotPrice,
Date timestamp,
String availabilityZone)
builder
public static Spot.Builder builder()
getRegion
@Deprecated
public String getRegion()
- Deprecated.
- To be removed in jclouds 1.6
Warning
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 interface Comparable<Spot>
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.