com.atlassian.aws.ec2
Class SpotPriceMatrix

java.lang.Object
  extended by com.atlassian.aws.ec2.SpotPriceMatrix

public class SpotPriceMatrix
extends Object


Nested Class Summary
static class SpotPriceMatrix.Price
           
 
Constructor Summary
SpotPriceMatrix()
           
SpotPriceMatrix(List<com.amazonaws.services.ec2.model.SpotPrice> spotPrices)
           
 
Method Summary
 void add(Iterable<com.amazonaws.services.ec2.model.SpotPrice> spotPrices)
           
 void add(com.amazonaws.services.ec2.model.SpotPrice spotPrice)
           
 void add(String product, com.amazonaws.services.ec2.model.InstanceType instanceType, double bid)
           
 void add(String product, com.amazonaws.services.ec2.model.InstanceType instanceType, SpotPriceMatrix.Price spotPrice)
           
 SpotPriceMatrix.Price getPrice(String product, com.amazonaws.services.ec2.model.InstanceType instanceType)
           
 Collection<String> getProducts()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpotPriceMatrix

public SpotPriceMatrix()

SpotPriceMatrix

public SpotPriceMatrix(List<com.amazonaws.services.ec2.model.SpotPrice> spotPrices)
Method Detail

add

public void add(com.amazonaws.services.ec2.model.SpotPrice spotPrice)

add

public void add(String product,
                com.amazonaws.services.ec2.model.InstanceType instanceType,
                double bid)

add

public void add(String product,
                com.amazonaws.services.ec2.model.InstanceType instanceType,
                SpotPriceMatrix.Price spotPrice)

add

public void add(Iterable<com.amazonaws.services.ec2.model.SpotPrice> spotPrices)

getPrice

@Nullable
public SpotPriceMatrix.Price getPrice(String product,
                                               com.amazonaws.services.ec2.model.InstanceType instanceType)

getProducts

public Collection<String> getProducts()


Copyright © 2015 Atlassian. All rights reserved.