com.amazonaws.services.ec2.model
Class DescribeSpotPriceHistoryResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeSpotPriceHistoryResult

public class DescribeSpotPriceHistoryResult
extends Object

Describe Spot Price History Result


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

Constructor Detail

DescribeSpotPriceHistoryResult

public DescribeSpotPriceHistoryResult()
Method Detail

getSpotPriceHistory

public List<SpotPrice> getSpotPriceHistory()
Returns the value of the SpotPriceHistory property for this object.

Returns:
The value of the SpotPriceHistory property for this object.

setSpotPriceHistory

public void setSpotPriceHistory(Collection<SpotPrice> spotPriceHistory)
Sets the value of the SpotPriceHistory property for this object.

Parameters:
spotPriceHistory - The new value for the SpotPriceHistory property for this object.

withSpotPriceHistory

public DescribeSpotPriceHistoryResult withSpotPriceHistory(SpotPrice... spotPriceHistory)
Sets the value of the SpotPriceHistory property for this object.

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

Parameters:
spotPriceHistory - The new value for the SpotPriceHistory property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withSpotPriceHistory

public DescribeSpotPriceHistoryResult withSpotPriceHistory(Collection<SpotPrice> spotPriceHistory)
Sets the value of the SpotPriceHistory property for this object.

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

Parameters:
spotPriceHistory - The new value for the SpotPriceHistory property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
The string marking the next set of results returned. Displays empty if there are no more results to be returned.

Returns:
The string marking the next set of results returned. Displays empty if there are no more results to be returned.

setNextToken

public void setNextToken(String nextToken)
The string marking the next set of results returned. Displays empty if there are no more results to be returned.

Parameters:
nextToken - The string marking the next set of results returned. Displays empty if there are no more results to be returned.

withNextToken

public DescribeSpotPriceHistoryResult withNextToken(String nextToken)
The string marking the next set of results returned. Displays empty if there are no more results to be returned.

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

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

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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