com.amazonaws.services.ec2.model
Class DescribeSpotPriceHistoryResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeSpotPriceHistoryResult
All Implemented Interfaces:
java.io.Serializable

public class DescribeSpotPriceHistoryResult
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DescribeSpotPriceHistoryResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getNextToken()
          The string marking the next set of results.
 java.util.List<SpotPrice> getSpotPriceHistory()
          The historical Spot Prices.
 int hashCode()
           
 void setNextToken(java.lang.String nextToken)
          The string marking the next set of results.
 void setSpotPriceHistory(java.util.Collection<SpotPrice> spotPriceHistory)
          The historical Spot Prices.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeSpotPriceHistoryResult withNextToken(java.lang.String nextToken)
          The string marking the next set of results.
 DescribeSpotPriceHistoryResult withSpotPriceHistory(java.util.Collection<SpotPrice> spotPriceHistory)
          The historical Spot Prices.
 DescribeSpotPriceHistoryResult withSpotPriceHistory(SpotPrice... spotPriceHistory)
          The historical Spot Prices.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeSpotPriceHistoryResult

public DescribeSpotPriceHistoryResult()
Method Detail

getSpotPriceHistory

public java.util.List<SpotPrice> getSpotPriceHistory()
The historical Spot Prices.

Returns:
The historical Spot Prices.

setSpotPriceHistory

public void setSpotPriceHistory(java.util.Collection<SpotPrice> spotPriceHistory)
The historical Spot Prices.

Parameters:
spotPriceHistory - The historical Spot Prices.

withSpotPriceHistory

public DescribeSpotPriceHistoryResult withSpotPriceHistory(SpotPrice... spotPriceHistory)
The historical Spot Prices.

Returns a reference to this object so that method calls can be chained together.

Parameters:
spotPriceHistory - The historical Spot Prices.
Returns:
A reference to this updated object so that method calls can be chained together.

withSpotPriceHistory

public DescribeSpotPriceHistoryResult withSpotPriceHistory(java.util.Collection<SpotPrice> spotPriceHistory)
The historical Spot Prices.

Returns a reference to this object so that method calls can be chained together.

Parameters:
spotPriceHistory - The historical Spot Prices.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public java.lang.String getNextToken()
The string marking the next set of results. This is empty if there are no more results.

Returns:
The string marking the next set of results. This is empty if there are no more results.

setNextToken

public void setNextToken(java.lang.String nextToken)
The string marking the next set of results. This is empty if there are no more results.

Parameters:
nextToken - The string marking the next set of results. This is empty if there are no more results.

withNextToken

public DescribeSpotPriceHistoryResult withNextToken(java.lang.String nextToken)
The string marking the next set of results. This is empty if there are no more results.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - The string marking the next set of results. This is empty if there are no more results.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.