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>
- Author:
- Adrian Cole
- See Also:
Spot
public Spot(String region,
String instanceType,
String productDescription,
float spotPrice,
Date timestamp)
builder
public static Spot.Builder builder()
getRegion
public String getRegion()
getInstanceType
public String getInstanceType()
getProductDescription
public String getProductDescription()
getSpotPrice
public float getSpotPrice()
getTimestamp
public Date getTimestamp()
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-2011 jclouds. All Rights Reserved.