org.jclouds.aws.ec2.domain
Class Spot

java.lang.Object
  extended by org.jclouds.aws.ec2.domain.Spot
All Implemented Interfaces:
Comparable<Spot>

public class Spot
extends Object
implements Comparable<Spot>

Author:
Adrian Cole
See Also:

Nested Class Summary
static class Spot.Builder
           
 
Constructor Summary
Spot(String region, String instanceType, String productDescription, float spotPrice, Date timestamp)
           
 
Method Summary
static Spot.Builder builder()
           
 int compareTo(Spot o)
           
 boolean equals(Object obj)
           
 String getInstanceType()
           
 String getProductDescription()
           
 String getRegion()
           
 float getSpotPrice()
           
 Date getTimestamp()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Spot

public Spot(String region,
            String instanceType,
            String productDescription,
            float spotPrice,
            Date timestamp)
Method Detail

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.